Groovy Documentation

de.dewarim.goblin
[Groovy] Class CreatureAttribute

java.lang.Object
  de.dewarim.goblin.CreatureAttribute
All Implemented Interfaces:
ICombatAttribute

class CreatureAttribute

Mapping class between Creature and CombatAttributeType. A creature may have several combat attributes. For example, a dragon can breath fire or poison and his damage is accordingly (unless the player character has a resistance against this combat attribute).


Property Summary
static java.lang.Object belongsTo

java.lang.Double damageModifier

 
Constructor Summary
CreatureAttribute()

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

CombatAttributeType fetchCombatAttributeType()

java.lang.Double fetchDamageModifier()

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


damageModifier

java.lang.Double damageModifier


 
Constructor Detail

CreatureAttribute

CreatureAttribute()


 
Method Detail

equals

boolean equals(java.lang.Object o)


fetchCombatAttributeType

CombatAttributeType fetchCombatAttributeType()


fetchDamageModifier

java.lang.Double fetchDamageModifier()


hashCode

int hashCode()


 

Groovy Documentation