|
|||||||||
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.ChangeMap
public class ChangeMap
Representation of the GameBots2004 command CHANGEMAP. Will change map to MapName - map must exist on server (won't be tested), will send MAPCHANGE message. When map change occurs all connections to the server will be shutted down.
Field Summary | |
---|---|
protected java.lang.String |
MapName
Name of the new map. |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary | |
---|---|
ChangeMap()
Creates new instance of command ChangeMap. |
|
ChangeMap(ChangeMap original)
Cloning constructor. |
|
ChangeMap(java.lang.String MapName)
Creates new instance of command ChangeMap. |
Method Summary | |
---|---|
java.lang.String |
getMapName()
Name of the new map. |
ChangeMap |
setMapName(java.lang.String MapName)
Name of the new map. |
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.String MapName
Constructor Detail |
---|
public ChangeMap(java.lang.String MapName)
MapName
- Name of the new map.public ChangeMap()
public ChangeMap(ChangeMap original)
original
- Method Detail |
---|
public java.lang.String getMapName()
public ChangeMap setMapName(java.lang.String MapName)
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 |