Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
Constructor and Description |
---|
GamesLoadCommand(java.lang.String name)
Creates a command object to load a game.
|
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.
|
public GamesLoadCommand(java.lang.String name)
name
- The name of the saved game file.public boolean Execute()
ICommand
public boolean Unexecute()
ICommand
public java.lang.String GetResponse()
ICommand
GetResponse
in interface ICommand