|
||||||||||
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.InfoMessage cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages.MapList
public class MapList
Info batch message. Starts with SMAP message, ends with EMAP message. Hold information about available maps on the server (maps to which we can change the game). Corresponding GameBots message is IMAP.
Field Summary | |
---|---|
protected String |
Name
Name of one map in map list on the server. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary | |
---|---|
MapList()
Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package). |
|
MapList(MapList original)
Cloning constructor. |
|
MapList(String Name)
Creates new instance of command MapList. |
Method Summary | |
---|---|
String |
getName()
Name of one map in map list on the server. |
long |
getSimTime()
|
String |
toHtmlString()
|
String |
toString()
|
Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage |
---|
toJsonLiteral |
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 Name
Constructor Detail |
---|
public MapList(String Name)
Name
- Name of one map in map list on the server.public MapList(MapList original)
public MapList()
Method Detail |
---|
public String getName()
getName
in interface IMapList
public long getSimTime()
getSimTime
in interface IWorldChangeEvent
getSimTime
in interface IWorldEvent
public String toString()
toString
in class InfoMessage
public String toHtmlString()
toHtmlString
in interface IMapList
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |