public class Pause extends CommandMessage
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
PauseAll
Everyone in the game will be paused if set to true.
|
protected Boolean |
PauseBots
Iif true only bots will be paused – players and spectators
will move freely.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
| Constructor and Description |
|---|
Pause()
Creates new instance of command Pause.
|
Pause(Boolean PauseBots,
Boolean PauseAll)
Creates new instance of command Pause.
|
Pause(Pause original)
Cloning constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
isPauseAll()
Everyone in the game will be paused if set to true.
|
Boolean |
isPauseBots()
Iif true only bots will be paused – players and spectators
will move freely.
|
Pause |
setPauseAll(Boolean PauseAll)
Everyone in the game will be paused if set to true.
|
Pause |
setPauseBots(Boolean PauseBots)
Iif true only bots will be paused – players and spectators
will move freely.
|
String |
toHtmlString() |
String |
toMessage() |
String |
toString() |
public static final String PROTOTYPE
protected Boolean PauseBots
protected Boolean PauseAll
public Pause(Boolean PauseBots, Boolean PauseAll)
PauseBots - Iif true only bots will be paused – players and spectators
will move freely.PauseAll - Everyone in the game will be paused if set to true. To
unpause send PAUSE command with PauseAll set to false.public Pause()
public Pause(Pause original)
original - public Boolean isPauseBots()
public Pause setPauseBots(Boolean PauseBots)
public Boolean isPauseAll()
public Pause setPauseAll(Boolean PauseAll)
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.