Groovy Documentation

de.dewarim.goblin
[Groovy] Class EquipmentSlot

java.lang.Object
  de.dewarim.goblin.EquipmentSlot

class EquipmentSlot

Mapping class between EquipmentSlotType and Creature. A creature usually has several equipment slots which are required to wield and carry items like armor, weapons or amulets. (Or: weapon bays to carry lasers, machine guns, missiles).


Property Summary
static java.lang.Object belongsTo

static java.lang.Object constraints

Item item

java.lang.String name

java.lang.Integer rank

 
Constructor Summary
EquipmentSlot()

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

int hashCode()

 
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

belongsTo

static java.lang.Object belongsTo


constraints

static java.lang.Object constraints


item

Item item


name

java.lang.String name


rank

java.lang.Integer rank


 
Constructor Detail

EquipmentSlot

EquipmentSlot()


 
Method Detail

equals

boolean equals(java.lang.Object o)


hashCode

int hashCode()


 

Groovy Documentation