| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
SLOT_NAME
Holds the name of the slot where the item's image is attached for the Item skeleton in Spine. 
 | 
| Constructor and Description | 
|---|
Item(java.lang.String name,
    java.lang.String description)
Creates an item with the given name and description. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getDescription()
Gets the item's description. 
 | 
java.lang.String | 
getItemAttachment()
Retrieves the name of the attachment used in Spine to display this Item when it is an object in the world. 
 | 
java.lang.String | 
getName()
Gets the item's name. 
 | 
void | 
setDescription(java.lang.String description)
Sets the item's description. 
 | 
void | 
setItemAttachment(java.lang.String itemAttachment)
Sets the name of the attachment used in Spine to display this Item when it is an object in the world. 
 | 
void | 
setName(java.lang.String name)
Sets the item's name. 
 | 
public static final java.lang.String SLOT_NAME
public Item(java.lang.String name,
    java.lang.String description)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getItemAttachment()
public void setItemAttachment(java.lang.String itemAttachment)