public interface Actions
| Modifier and Type | Method and Description |
|---|---|
void |
clearMoves()
Remove all moves from the move queue.
|
GeneralsApi |
getBareApi()
Get lower level API that potentially can make it possible to do something that is not possible by this interface.
|
void |
leaveGame() |
void |
move(Field fieldFrom,
Field fieldTo)
Direct move between fields.
|
void |
move(Field fieldFrom,
Field fieldTo,
boolean moveHalf)
Direct move between fields.
|
void |
move(int indexFrom,
int indexTo) |
void |
move(int indexFrom,
int indexTo,
boolean moveHalf) |
void |
ping(Field field) |
void |
ping(int index) |
void |
sendChat(String message) |
void |
sendTeamChat(String message) |
void move(int indexFrom,
int indexTo)
void move(Field fieldFrom, Field fieldTo)
void move(int indexFrom,
int indexTo,
boolean moveHalf)
void move(Field fieldFrom, Field fieldTo, boolean moveHalf)
moveHalf - if true, only half of the army will be moved (equal to double click in browser)void sendChat(String message)
void sendTeamChat(String message)
void leaveGame()
void ping(int index)
void ping(Field field)
void clearMoves()
GeneralsApi getBareApi()
Copyright © 2017. All rights reserved.