|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gecco.server.core.Action | +--gecco.game.testgame.AttackAction
Description of the Class
Field Summary | |
private double |
addX
Description of the Field |
private double |
addY
Description of the Field |
private int |
attackFactor
Description of the Field |
private int |
ATTACKING_BEHAVIOUR
Description of the Field |
private double |
attackRadiusSquared
Description of the Field |
private int |
behaviourState
Description of the Field |
private int |
MOVEMENT_BEHAVIOUR
Description of the Field |
private int |
NONE_BEHAVIOUR
Description of the Field |
private double |
stepLength
Description of the Field |
Fields inherited from class gecco.server.core.Action |
actionHandle, argUnit, argX, argY, isInstantaneous, unit |
Constructor Summary | |
AttackAction()
Constructor for the AttackAction 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 |
|
Field Detail |
private final int NONE_BEHAVIOUR
private final int ATTACKING_BEHAVIOUR
private final int MOVEMENT_BEHAVIOUR
private double addX
private double addY
private double stepLength
private int attackFactor
private int behaviourState
private double attackRadiusSquared
Constructor Detail |
public AttackAction()
Method Detail |
public void initiate(int _actionHandle, int _unitHandle)
initiate
in class Action
_actionHandle
- Description of Parameter_unitHandle
- Description of Parameterpublic void initiate(int _actionHandle, int _unitHandle, int _argUnitHandle)
initiate
in class Action
_actionHandle
- Description of Parameter_unitHandle
- Description of Parameter_argUnitHandle
- Description of Parameterpublic void initiate(int _actionHandle, int _unitHandle, double _argX, double _argY)
initiate
in class Action
_actionHandle
- Description of Parameter_unitHandle
- Description of Parameter_argX
- Description of Parameter_argY
- Description of Parameterpublic ActionReturn checkPoint()
checkPoint
in class Action
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |