gecco.game.oresund
Class Fly

java.lang.Object
  |
  +--gecco.server.core.Action
        |
        +--gecco.game.oresund.Fly

public class Fly
extends Action

Description of the Class


Field Summary
private  double addX
          Description of the Field
private  double addY
          Description of the Field
private static int FUEL_DECREASE_PER_MOVE
          Description of the Field
private static String FUEL_PROPERTY_STRING
          Description of the Field
private static String MOVE_ACTION_ID
          Description of the Field
private static double stepLength
          Description of the Field
private static int SURVIVOR_STATE
          Description of the Field
private static String VOLUME_PROPERTY_STRING
          Description of the Field
private static int WATER_STATE
          Description of the Field
 
Fields inherited from class gecco.server.core.Action
actionHandle, argUnit, argX, argY, isInstantaneous, unit
 
Constructor Summary
Fly()
          Constructor for the Fly 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, getActionHandle, getArgumentUnit, getArgumentX, getArgumentY, getAutomatonState, getUnit, getUnitHandle, isInstantaneous, sendEventToAutomaton, sendEventToUnit, setInstantaneous
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

addX

private double addX
Description of the Field

addY

private double addY
Description of the Field

FUEL_PROPERTY_STRING

private static final String FUEL_PROPERTY_STRING
Description of the Field

VOLUME_PROPERTY_STRING

private static final String VOLUME_PROPERTY_STRING
Description of the Field

FUEL_DECREASE_PER_MOVE

private static final int FUEL_DECREASE_PER_MOVE
Description of the Field

stepLength

private static final double stepLength
Description of the Field

WATER_STATE

private static final int WATER_STATE
Description of the Field

SURVIVOR_STATE

private static final int SURVIVOR_STATE
Description of the Field

MOVE_ACTION_ID

private static final String MOVE_ACTION_ID
Description of the Field
Constructor Detail

Fly

public Fly()
Constructor for the Fly 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