|
|||||||||
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 java.lang.Boolean |
PauseAll
Everyone in the game will be paused if set to true. |
protected java.lang.Boolean |
PauseBots
Iif true only bots will be paused – players and spectators will move freely. |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary | |
---|---|
Pause()
Creates new instance of command Pause. |
|
Pause(java.lang.Boolean PauseBots,
java.lang.Boolean PauseAll)
Creates new instance of command Pause. |
|
Pause(Pause original)
Cloning constructor. |
Method Summary | |
---|---|
java.lang.Boolean |
isPauseAll()
Everyone in the game will be paused if set to true. |
java.lang.Boolean |
isPauseBots()
Iif true only bots will be paused – players and spectators will move freely. |
Pause |
setPauseAll(java.lang.Boolean PauseAll)
Everyone in the game will be paused if set to true. |
Pause |
setPauseBots(java.lang.Boolean PauseBots)
Iif true only bots will be paused – players and spectators will move freely. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toMessage()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROTOTYPE
protected java.lang.Boolean PauseBots
protected java.lang.Boolean PauseAll
Constructor Detail |
---|
public Pause(java.lang.Boolean PauseBots, java.lang.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 java.lang.Boolean isPauseBots()
public Pause setPauseBots(java.lang.Boolean PauseBots)
public java.lang.Boolean isPauseAll()
public Pause setPauseAll(java.lang.Boolean PauseAll)
public java.lang.String toString()
toString
in class CommandMessage
public java.lang.String toHtmlString()
public java.lang.String toMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |