|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.StartPlayers
public class StartPlayers
Representation of the GameBots2004 command STARTPLRS. Will start to export IPLR messages regularly (like synchronous batch). Can be used for continuous visualization of players moving around the map. There are three categories (see below). The default values for all category is true, that means that without attributes all the categories will be exported.
Field Summary | |
---|---|
protected Boolean |
GBBots
All GameBots bots will be exported. |
protected Boolean |
Humans
All human players will be exported. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected Boolean |
UnrealBots
All UnrealBots will be exported. |
Constructor Summary | |
---|---|
StartPlayers()
Creates new instance of command StartPlayers. |
|
StartPlayers(Boolean Humans,
Boolean GBBots,
Boolean UnrealBots)
Creates new instance of command StartPlayers. |
|
StartPlayers(StartPlayers original)
Cloning constructor. |
Method Summary | |
---|---|
Boolean |
isGBBots()
All GameBots bots will be exported. |
Boolean |
isHumans()
All human players will be exported. |
Boolean |
isUnrealBots()
All UnrealBots will be exported. |
StartPlayers |
setGBBots(Boolean GBBots)
All GameBots bots will be exported. |
StartPlayers |
setHumans(Boolean Humans)
All human players will be exported. |
StartPlayers |
setUnrealBots(Boolean UnrealBots)
All UnrealBots will be exported. |
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 Humans
protected Boolean GBBots
protected Boolean UnrealBots
Constructor Detail |
---|
public StartPlayers(Boolean Humans, Boolean GBBots, Boolean UnrealBots)
Humans
- All human players will be exported.GBBots
- All GameBots bots will be exported.UnrealBots
- All UnrealBots will be exported.public StartPlayers()
public StartPlayers(StartPlayers original)
original
- Method Detail |
---|
public Boolean isHumans()
public StartPlayers setHumans(Boolean Humans)
public Boolean isGBBots()
public StartPlayers setGBBots(Boolean GBBots)
public Boolean isUnrealBots()
public StartPlayers setUnrealBots(Boolean UnrealBots)
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 |