public interface Producible extends Feature, Shape
Modifier and Type | Method and Description |
---|---|
void |
addListener(ProducibleListener listener)
Add a producible listener.
|
Collection<ProducibleListener> |
getListeners()
Get the listeners reference.
|
Media |
getMedia()
Get the media representing the producible.
|
int |
getSteps()
Get the production steps number.
|
void |
setLocation(double x,
double y)
Set the production location.
|
checkListener, prepare
getFeature, getFeatures, getFeaturesType, hasFeature
getX, getY
void addListener(ProducibleListener listener)
listener
- The producible listener to add.Collection<ProducibleListener> getListeners()
void setLocation(double x, double y)
x
- The horizontal location.y
- The vertical location.Media getMedia()
int getSteps()
Copyright © 2017 Byron 3D Games Studio. All rights reserved.