Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
int |
getAmount()
Returns the current amount of resources for this Resource (same as unit()->getResources).
|
int |
getInitialAmount()
Returns the initial amount of resources for this Resource (same as
unit()->getInitialResources).
|
int |
hashCode() |
getBlockedAreas, getBottomRight, getCenter, getLastStacked, getMap, getNextStacked, getSize, getTopLeft, getUnit, isBlocking, isSameUnitTypeAs, setBlocking, simulateCPPObjectDestructor
public int getInitialAmount()
Resource
getInitialAmount
in class Resource
public int getAmount()
Resource