evolution.actions
Class Exploring
evolution.actions.Action
|
+--evolution.actions.Exploring
- public class Exploring
- extends Action
Exploring land.
Method Summary |
protected void | _perform(Human human) Extra things which should be done when this action's perform
method is called. |
protected boolean | canBePerformedOn(SquareOfLand square) Checks whether this action can be performed on the given square of land. |
Methods inherited from class evolution.actions.Action |
calculateSquareValue, doChecks, findSquare, getName, getProducesLandResources, getProducesResources, getUsesLandResources, getUsesResources, hasEnoughResources, isEnergyBufferAction, modifyLandResources, modifyResources, perform, performEnergyBuffer |
_perform
protected void _perform(Human human)
throws evolution.resources.NotEnoughResourcesException,
IllegalLandTypeException,
evolution.lands.NotEnoughLandResourcesException
- Extra things which should be done when this action's perform
method is called.
Template method.
canBePerformedOn
protected boolean canBePerformedOn(SquareOfLand square)
- Checks whether this action can be performed on the given square of land.