public class ChangeMap extends CommandMessage
| Modifier and Type | Field and Description |
|---|---|
protected String |
MapName
Name of the new map.
|
protected boolean |
NotifyGame
If set to True game object will be notified about map change, otherwise it will not and map will be changed immediately.
|
| Constructor and Description |
|---|
ChangeMap()
Creates new instance of command ChangeMap.
|
ChangeMap(ChangeMap original)
Cloning constructor.
|
ChangeMap(String MapName,
boolean NotifyGame)
Creates new instance of command ChangeMap.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMapName()
Name of the new map.
|
boolean |
isNotifyGame()
If set to True game object will be notified about map change, otherwise it will not and map will be changed immediately.
|
ChangeMap |
setMapName(String MapName)
Name of the new map.
|
ChangeMap |
setNotifyGame(boolean NotifyGame)
If set to True game object will be notified about map change, otherwise it will not and map will be changed immediately.
|
String |
toHtmlString() |
String |
toMessage() |
String |
toString() |
protected String MapName
protected boolean NotifyGame
public ChangeMap(String MapName, boolean NotifyGame)
MapName - Name of the new map.NotifyGame - If set to True game object will be notified about map change, otherwise it will not and map will be changed immediately. Setting this to false
will for example skip showing the stats in deathmatch game.public ChangeMap()
public ChangeMap(ChangeMap original)
public String getMapName()
public boolean isNotifyGame()
public ChangeMap setNotifyGame(boolean NotifyGame)
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.