|
||||||||||
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.PutDownItem
public class PutDownItem
Representation of the GameBots2004 command PUT. Bot putdowns input item at the location he is currently at. Note that If autopickup is set to true he will pick it up immediately back.
Field Summary | |
---|---|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected String |
Type
Class of the item. |
Constructor Summary | |
---|---|
PutDownItem()
Creates new instance of command PutDownItem. |
|
PutDownItem(PutDownItem original)
Cloning constructor. |
|
PutDownItem(String Type)
Creates new instance of command PutDownItem. |
Method Summary | |
---|---|
String |
getType()
Class of the item. |
PutDownItem |
setType(String Type)
Class of the item. |
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 String Type
Constructor Detail |
---|
public PutDownItem(String Type)
Type
- Class of the item. E.g. "GBEmohawk.ItemBall" (without quotes).public PutDownItem()
public PutDownItem(PutDownItem original)
original
- Method Detail |
---|
public String getType()
public PutDownItem setType(String Type)
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 |