public class GameListAICommand extends CookieCommand
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.List<java.lang.String> |
types |
gameID, playerID| Constructor and Description |
|---|
GameListAICommand(NetworkCookie cookie)
Creates a command to get the available AI list.
|
| 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 GameListAICommand(NetworkCookie cookie)
playerID - The player ID.public boolean Execute()
ICommandpublic boolean Unexecute()
ICommandpublic java.lang.String GetResponse()
ICommandpublic java.lang.String GetHeader()
ICommand