|
||||||||||
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.udk.communication.messages.gbcommands.Pause
public class Pause
Will pause/unpause the game. The game can be paused just if bAllowPause = true in GameBotsUDK.ini (different settings for bots and server possible). Corresponding GameBots command is PAUSE.
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. |
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 |
---|
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)
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 |