R
- The resource enum type used.public interface ExtractorListener<R extends Enum<R>>
Modifier and Type | Method and Description |
---|---|
void |
notifyDroppedOff(R type,
int droppedQuantity)
Notify listener when extractor has dropped resources to warehouse.
|
void |
notifyExtracted(R type,
int currentQuantity)
Notify listener when extractor extracted one unit (called once when one quantity is extracted).
|
void |
notifyStartCarry(R type,
int totalQuantity)
Notify listener when extractor is going to start carry (called once).
|
void |
notifyStartDropOff(R type,
int totalQuantity)
Notify listener when extractor carried and will start to drop off resources (called once).
|
void |
notifyStartExtraction(R type,
Tiled resourceLocation)
Notify listener when extractor is going to start extraction (called once).
|
void |
notifyStartGoToRessources(R type,
Tiled resourceLocation)
Notify listener when extractor will start to move to resources (called once).
|
void notifyStartGoToRessources(R type, Tiled resourceLocation)
type
- The resource type.resourceLocation
- The resource location.void notifyStartExtraction(R type, Tiled resourceLocation)
type
- The resource type.resourceLocation
- The resource location.void notifyExtracted(R type, int currentQuantity)
type
- The resource type.currentQuantity
- The current quantity of extracted resources.void notifyStartCarry(R type, int totalQuantity)
type
- The resource type.totalQuantity
- The total resource quantity to carry.void notifyStartDropOff(R type, int totalQuantity)
type
- The resource type.totalQuantity
- The total resource quantity to drop.void notifyDroppedOff(R type, int droppedQuantity)
type
- The resource type.droppedQuantity
- The total resource quantity dropped off.Copyright © 2014 Byron 3D Games Studio. All rights reserved.