public class PutDownItem extends CommandMessage
| Modifier and Type | Field and Description |
|---|---|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
protected String |
Type
Class of the item.
|
| Constructor and Description |
|---|
PutDownItem()
Creates new instance of command PutDownItem.
|
PutDownItem(PutDownItem original)
Cloning constructor.
|
PutDownItem(String Type)
Creates new instance of command PutDownItem.
|
public static final String PROTOTYPE
protected String Type
public PutDownItem(String Type)
Type - Class of the item. E.g. "GBEmohawk.ItemBall" (without quotes).public PutDownItem()
public PutDownItem(PutDownItem original)
original - public String getType()
public PutDownItem setType(String Type)
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.