|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.KillBot
public class KillBot
Representation of the GameBots2004 command KILL. Use this to kill the bot. The bot may respawn immediately - this depends on current server and bot settings (manual or auto spawning. Works also for native bots and human players. Can be issued only by control server.
Field Summary | |
---|---|
protected UnrealId |
Id
Id of the bot to be killed. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary | |
---|---|
KillBot()
Creates new instance of command KillBot. |
|
KillBot(KillBot original)
Cloning constructor. |
|
KillBot(UnrealId Id)
Creates new instance of command KillBot. |
Method Summary | |
---|---|
UnrealId |
getId()
Id of the bot to be killed. |
KillBot |
setId(UnrealId Id)
Id of the bot to be killed. |
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 |
---|
public static final String PROTOTYPE
protected UnrealId Id
Constructor Detail |
---|
public KillBot(UnrealId Id)
Id
- Id of the bot to be killed.public KillBot()
public KillBot(KillBot original)
original
- Method Detail |
---|
public UnrealId getId()
public KillBot setId(UnrealId 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 |