public class MovesMonumentCommand extends MovesCommand
Modifier and Type | Field and Description |
---|---|
private GameModel |
gm |
playerIndex
gameID, 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()
ICommand
public boolean Unexecute()
ICommand
public java.lang.String GetResponse()
ICommand
public java.lang.String GetHeader()
ICommand