Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 de.rico.editor.datamodel.AbstractEntityData
`getMesh, getName, getScriptId`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ItemData

    public ItemData(MeshData mesh,
                    java.lang.String name,
                    java.lang.String scriptId,
                    java.lang.String inventImg)

Method Detail

### 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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD