public class MapChange extends GBEvent implements IWorldEvent, IWorldChangeEvent
| Modifier and Type | Field and Description |
|---|---|
protected String |
MapName
Name of the new map.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
| Constructor and Description |
|---|
MapChange()
Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).
|
MapChange(MapChange original)
Cloning constructor.
|
MapChange(String MapName)
Creates new instance of command MapChange.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMapName()
Name of the new map.
|
long |
getSimTime() |
String |
toHtmlString() |
String |
toString() |
getWorldEventtoJsonLiteralpublic static final String PROTOTYPE
protected String MapName
public MapChange(String MapName)
MapName - Name of the new map.public MapChange(MapChange original)
public MapChange()
public String getMapName()
public long getSimTime()
getSimTime in interface IWorldChangeEventgetSimTime in interface IWorldEventgetSimTime in class GBEventpublic String toString()
toString in class InfoMessagepublic String toHtmlString()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.