public class MapList extends InfoMessage implements IWorldEvent, IWorldChangeEvent, IMapList
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Name of one map in map list on the server.
|
long |
getSimTime() |
String |
toHtmlString() |
String |
toString() |
toJsonLiteral
public static final String PROTOTYPE
protected String Name
public MapList(String Name)
Name
- Name of one map in map list on the server.public MapList(MapList original)
public MapList()
public String getName()
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
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.