|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Action | |
gecco.client | |
gecco.communication.client |
Uses of Action in gecco.client |
Methods in gecco.client that return Action | |
Action |
Piece.getExecutingAction()
Returns the currently executing action, or null if no action is executing. |
Action |
Piece.executeNextAction()
Lets the next action execute. |
Action |
ActionQueue.get()
Description of the Method |
Action |
ActionQueue.peek()
Description of the Method |
Methods in gecco.client with parameters of type Action | |
void |
Client.addPieceAction(int handle,
Action a)
Adds the given action to the list of actions that a piece can do. |
void |
Client.removePieceAction(int handle,
Action a)
Removes the given action from the list of actions the a piece can do. |
void |
Game.addPieceAction(int handle,
Action a)
Adds a feature to the PieceAction attribute of the Game object |
void |
Game.removePieceAction(int handle,
Action a)
Description of the Method |
long |
Server.doAction(int pieceHandle,
Action a)
Execute the given Action and return a unique id of that executing action. |
void |
Piece.addAction(Action a)
Adds the given actions to the list of available actions of this piece. |
void |
Piece.removeAction(Action a)
Removes any action that has the same type as the given action from the list of available actions of this piece. |
void |
Piece.queue(Action a)
Queues the given action, allowing it to be executed after the other actions has finished. |
void |
Piece.abortQueuedAction(Action a)
Description of the Method |
void |
ActionQueue.put(Action a)
Description of the Method |
void |
ActionQueue.remove(Action a)
Description of the Method |
Constructors in gecco.client with parameters of type Action | |
Action(Action a)
Constructor for the Action object |
|
Action(Action a,
Object parameter)
Constructor for the Action object |
Uses of Action in gecco.communication.client |
Methods in gecco.communication.client with parameters of type Action | |
long |
ServerAmbassador.doAction(int pieceHandle,
Action a)
Called by the client when it wants a unit to perform an action. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |