gecco.game.firefighter
Class Water

java.lang.Object
  |
  +--gecco.server.core.Action
        |
        +--gecco.game.firefighter.Water

public class Water
extends Action

Description of the Class

Author:
Henrik Bäärnhielm

Constructor Summary
Water()
          Constructor for the Water object
 
Method Summary
 ActionReturn checkPoint()
          Description of the Method
 void initiate(int _actionHandle, int _unitHandle)
          Description of the Method
 void initiate(int _actionHandle, int _unitHandle, double _argX, double _argY)
          Description of the Method
 void initiate(int _actionHandle, int _unitHandle, int _argUnitHandle)
          Description of the Method
 
Methods inherited from class gecco.server.core.Action
canSeePosition, getActionDefinition, getActionHandle, getArgumentUnit, getArgumentX, getArgumentY, getAutomatonState, getId, getUnit, getUnitHandle, isInstantaneous, isOutsideMap, sendEventToAutomaton, sendEventToUnit, setActionDefinition, setInstantaneous
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Water

public Water()
Constructor for the Water object
Method Detail

initiate

public void initiate(int _actionHandle,
                     int _unitHandle)
Description of the Method
Overrides:
initiate in class Action
Parameters:
_actionHandle - Description of Parameter
_unitHandle - Description of Parameter

initiate

public void initiate(int _actionHandle,
                     int _unitHandle,
                     int _argUnitHandle)
Description of the Method
Overrides:
initiate in class Action
Parameters:
_actionHandle - Description of Parameter
_unitHandle - Description of Parameter
_argUnitHandle - Description of Parameter

initiate

public void initiate(int _actionHandle,
                     int _unitHandle,
                     double _argX,
                     double _argY)
Description of the Method
Overrides:
initiate in class Action
Parameters:
_actionHandle - Description of Parameter
_unitHandle - Description of Parameter
_argX - Description of Parameter
_argY - Description of Parameter

checkPoint

public ActionReturn checkPoint()
Description of the Method
Overrides:
checkPoint in class Action
Returns:
Description of the Returned Value