de.rico.editor.datamodel
Class ItemData
java.lang.Object
de.rico.editor.datamodel.AbstractEntityData
de.rico.editor.datamodel.ItemData
public class ItemData
- extends AbstractEntityData
Data model class of a character for use with the editor.
- Author:
- Frank Bruns
Constructor Summary |
ItemData(MeshData mesh,
java.lang.String name,
java.lang.String scriptId,
java.lang.String inventImg)
|
Method Summary |
boolean |
canBePickedUp()
Determines whethter or not the item can be picked up by a
character. |
java.lang.String |
getInventoryImgPath()
Returns the path to the inventory image file. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemData
public ItemData(MeshData mesh,
java.lang.String name,
java.lang.String scriptId,
java.lang.String inventImg)
canBePickedUp
public boolean canBePickedUp()
- Determines whethter or not the item can be picked up by a
character.
- Returns:
- can be picked up? --> true=yes, false=no
getInventoryImgPath
public java.lang.String getInventoryImgPath()
- Returns the path to the inventory image file.
- Returns:
- path to inventory image file