|
||||||||||
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 String |
MapName
Name of the new map. |
static 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(String MapName)
Creates new instance of command ChangeMap. |
Method Summary | |
---|---|
String |
getMapName()
Name of the new map. |
ChangeMap |
setMapName(String MapName)
Name of the new map. |
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 String MapName
Constructor Detail |
---|
public ChangeMap(String MapName)
MapName
- Name of the new map.public ChangeMap()
public ChangeMap(ChangeMap original)
original
- Method Detail |
---|
public String getMapName()
public ChangeMap setMapName(String MapName)
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 |