public class InitializeObserver extends CommandMessage
Modifier and Type | Field and Description |
---|---|
protected String |
Id
The ID of the player you want to observe.
|
protected String |
Name
Name of the player you wannt to observe.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
Constructor and Description |
---|
InitializeObserver()
Creates new instance of command InitializeObserver.
|
InitializeObserver(InitializeObserver original)
Cloning constructor.
|
InitializeObserver(String Name,
String Id)
Creates new instance of command InitializeObserver.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
The ID of the player you want to observe.
|
String |
getName()
Name of the player you wannt to observe.
|
InitializeObserver |
setId(String Id)
The ID of the player you want to observe.
|
InitializeObserver |
setName(String Name)
Name of the player you wannt to observe.
|
String |
toHtmlString() |
String |
toMessage() |
String |
toString() |
public static final String PROTOTYPE
protected String Name
protected String Id
public InitializeObserver(String Name, String Id)
Name
- Name of the player you wannt to observe.Id
- The ID of the player you want to observe.public InitializeObserver()
public InitializeObserver(InitializeObserver original)
original
- public String getName()
public InitializeObserver setName(String Name)
public String getId()
public InitializeObserver setId(String Id)
public String toString()
toString
in class CommandMessage
public String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.