|
||||||||||
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.CommandMessage cz.cuni.amis.pogamut.udk.communication.messages.gbcommands.InitializeObserver
public class InitializeObserver
Message you'll send at the beginning of the communication to start observing a player. You need to supply either name or ID of the player to observe. If you are already observing a player, you will stop observing that player and start observing the player specified by this message. Corresponding GameBots command is INIT.
Field Summary | |
---|---|
protected String |
Id
The ID of the player you want to observe. |
protected String |
Name
Name of the player you wannt to observe. |
Constructor Summary | |
---|---|
InitializeObserver()
Creates new instance of command InitializeObserver. |
|
InitializeObserver(InitializeObserver original)
Cloning constructor. |
|
InitializeObserver(String Name,
String Id)
Creates new instance of command InitializeObserver. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String Name
protected String Id
Constructor Detail |
---|
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)
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |