public class Pause
extends cz.cuni.amis.pogamut.base.communication.messages.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.
|
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() |
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)
public boolean isPauseBots()
public Pause setPauseBots(boolean PauseBots)
public boolean isPauseAll()
public Pause setPauseAll(boolean PauseAll)
public String toString()
toString
in class cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
public String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.