Groovy Documentation

de.dewarim.goblin.item
[Groovy] Class Item

java.lang.Object
  de.dewarim.goblin.item.Item

class Item

Property Summary
java.lang.Integer amount

java.lang.Boolean equipped

java.lang.Long goldValue

static java.lang.Object hasMany

attributes: passive effects like resist fire, see invisible.

ItemLocation location

Creature owner

ItemType type

java.lang.Integer uses

 
Constructor Summary
Item()

Item(ItemType itemType, PlayerCharacter pc)

 
Method Summary
boolean equals(java.lang.Object o)

int hashCode()

void initItem()

void initItem(java.lang.Integer amount)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

amount

java.lang.Integer amount


equipped

java.lang.Boolean equipped


goldValue

java.lang.Long goldValue


hasMany

static java.lang.Object hasMany
attributes: passive effects like resist fire, see invisible. features: active effects for which you must use an item, like heal self.


location

ItemLocation location


owner

Creature owner


type

ItemType type


uses

java.lang.Integer uses


 
Constructor Detail

Item

Item()


Item

Item(ItemType itemType, PlayerCharacter pc)


 
Method Detail

equals

boolean equals(java.lang.Object o)


hashCode

int hashCode()


initItem

void initItem()


initItem

void initItem(java.lang.Integer amount)


 

Groovy Documentation