public interface ProducerListener
Modifier and Type | Method and Description |
---|---|
void |
notifyCanNotProduce(Producible producible)
Notify listener that current element can not be produced.
|
void |
notifyProduced(Producible producible,
ObjectGame object)
Notify listener that this element has been produced.
|
void |
notifyProducing(Producible producible,
ObjectGame object)
Notify listener that this element is currently under production.
|
void |
notifyStartProduction(Producible producible,
ObjectGame object)
Notify listener that production is starting for this element.
|
void notifyCanNotProduce(Producible producible)
producible
- The element that would have been under production.void notifyStartProduction(Producible producible, ObjectGame object)
producible
- The element going to be producedobject
- The object instance from element.void notifyProducing(Producible producible, ObjectGame object)
producible
- The element under production.object
- The object instance from element.void notifyProduced(Producible producible, ObjectGame object)
producible
- The element produced.object
- The object instance from element.Copyright © 2016 Byron 3D Games Studio. All rights reserved.