|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.CommandMessage cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.Pause
public class Pause
Representation of the GameBots2004 command PAUSE. Will pause/unpause the game. The game can be paused just if bAllowPause = true in GameBots2004.ini (different settings for bots and server possible).
Field Summary | |
---|---|
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 Summary | |
---|---|
Pause()
Creates new instance of command Pause. |
|
Pause(Boolean PauseBots,
Boolean PauseAll)
Creates new instance of command Pause. |
|
Pause(Pause original)
Cloning constructor. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PROTOTYPE
protected Boolean PauseBots
protected Boolean PauseAll
Constructor Detail |
---|
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
- Method Detail |
---|
public Boolean isPauseBots()
public Pause setPauseBots(Boolean PauseBots)
public Boolean isPauseAll()
public Pause setPauseAll(Boolean PauseAll)
public String toString()
toString
in class CommandMessage
public String toHtmlString()
public String toMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |