public class MineralPatch extends UnitImpl implements Resource, Gatherable
UnitImpl.TrainingSlot| Constructor and Description |
|---|
MineralPatch() |
| Modifier and Type | Method and Description |
|---|---|
int |
getInitialResources() |
int |
getLastKnownResources() |
int |
getResources() |
boolean |
isBeingGathered() |
cancelResearch, cancelTrain, cancelTrain, cancelUpgrade, canResearch, canTrain, canUpgrade, compareTo, equals, exists, getAllUnits, getAngle, getBottom, getClosest, getCurrentFrame, getDamageEvaluator, getDistance, getDistance, getDistance, getId, getInitiallySpotted, getInitialPosition, getInitialTilePosition, getKillCount, getLastSpotted, getLeft, getMiddle, getOrder, getOrderTarget, getOrderTargetPosition, getPlayer, getPlayer, getPosition, getRallyPosition, getRallyUnit, getResearchInProgress, getRight, getSecondaryOrder, getSize, getTilePosition, getTop, getType, getUnit, getUnitsInRadius, getUpgradeInProgress, getX, getY, hashCode, height, isFlying, isSelected, issueCommand, isVisible, research, setRallyPoint, setRallyPoint, tileHeight, tileWidth, toString, train, upgrade, widthclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdexists, getAngle, getBottom, getClosest, getDistance, getDistance, getDistance, getInitiallySpotted, getInitialPosition, getInitialTilePosition, getKillCount, getLastSpotted, getLeft, getMiddle, getPosition, getRight, getSize, getTilePosition, getTop, getType, getUnitsInRadius, getX, getY, height, isFlying, isSelected, isVisible, tileHeight, tileWidth, widthpublic int getResources()
getResources in interface Resourcepublic int getInitialResources()
getInitialResources in interface Resourcepublic int getLastKnownResources()
getLastKnownResources in interface Resourcepublic boolean isBeingGathered()
isBeingGathered in interface Resource