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, width
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId
exists, 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, width
public int getResources()
getResources
in interface Resource
public int getInitialResources()
getInitialResources
in interface Resource
public int getLastKnownResources()
getLastKnownResources
in interface Resource
public boolean isBeingGathered()
isBeingGathered
in interface Resource