R
- The resource enum type used.public interface ExtractorUsedServices<R extends java.lang.Enum<R>> extends ExtractorListener<R>
Modifier and Type | Method and Description |
---|---|
boolean |
canCarry()
Check if extractor can bring back its extraction (called while bring back resources).
|
boolean |
canExtract()
Check if extractor can extract (called while going to resources location).
|
int |
getDropOffSpeed()
Get the drop off speed.
|
int |
getExtractionCapacity()
Get the extraction capacity in unit (the maximum number of unit extractible per extraction).
|
int |
getExtractionSpeed()
Get the extraction speed.
|
notifyDroppedOff, notifyExtracted, notifyStartCarry, notifyStartDropOff, notifyStartExtraction, notifyStartGoToRessources
boolean canExtract()
For example:
boolean canCarry()
int getExtractionCapacity()
int getExtractionSpeed()
int getDropOffSpeed()