|
|||||||||
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.ut2004.communication.messages.gbcommands.Pick
public class Pick
Representation of the GameBots2004 command PICK. When automatic pickup is disabled for bot (in ini bDisableAutoPickup=true) or if set by CONF {AutoPickupOff True}, use this command to pickup inventory the bot is currently at. Will fail if the bot can't pickup the item for some reason - weaponstay true and already had it before or etc.
Field Summary | |
---|---|
protected UnrealId |
Id
Id of the pickup we want to pick up. |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary | |
---|---|
Pick()
Creates new instance of command Pick. |
|
Pick(Pick original)
Cloning constructor. |
|
Pick(UnrealId Id)
Creates new instance of command Pick. |
Method Summary | |
---|---|
UnrealId |
getId()
Id of the pickup we want to pick up. |
Pick |
setId(UnrealId Id)
Id of the pickup we want to pick up. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toMessage()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROTOTYPE
protected UnrealId Id
Constructor Detail |
---|
public Pick(UnrealId Id)
Id
- Id of the pickup we want to pick up.public Pick()
public Pick(Pick original)
original
- Method Detail |
---|
public UnrealId getId()
public Pick setId(UnrealId Id)
public java.lang.String toString()
toString
in class CommandMessage
public java.lang.String toHtmlString()
public java.lang.String toMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |