public class MovesMonumentCommand extends MovesCommand
| Modifier and Type | Field and Description |
|---|---|
private GameModel |
gm |
playerIndexgameID, playerID| Constructor and Description |
|---|
MovesMonumentCommand(NetworkCookie cookie,
int playerIndex)
Creates a command object to play the monument card.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Execute()
Executes a command
|
java.lang.String |
GetHeader()
Gets the new server header associated with the request.
|
java.lang.String |
GetResponse()
Gets the response for the server.
|
boolean |
Unexecute()
Unexecutes a command.
|
private GameModel gm
public MovesMonumentCommand(NetworkCookie cookie, int playerIndex)
playerID - The player ID.playerIndex - The player index.public boolean Execute()
ICommandpublic boolean Unexecute()
ICommandpublic java.lang.String GetResponse()
ICommandpublic java.lang.String GetHeader()
ICommand