Groovy Documentation

de.dewarim.goblin.combat
[Groovy] Class Combat

java.lang.Object
  de.dewarim.goblin.combat.Combat

class Combat

Property Summary
static java.lang.Object belongsTo

static java.lang.Object constraints

java.util.Date finished

static java.lang.Object hasMany

static java.lang.Object mapping

java.util.Date started

 
Constructor Summary
Combat()

Combat(PlayerCharacter pc, Mob mob)

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

Mob fetchFirstMob()

Currently, a combat has only one mob.

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


finished

java.util.Date finished


hasMany

static java.lang.Object hasMany


mapping

static java.lang.Object mapping


started

java.util.Date started


 
Constructor Detail

Combat

Combat()


Combat

Combat(PlayerCharacter pc, Mob mob)


 
Method Detail

equals

boolean equals(java.lang.Object o)


fetchFirstMob

Mob fetchFirstMob()
Currently, a combat has only one mob. This is a temporary convenience method to get this mob.
Returns:


hashCode

int hashCode()


 

Groovy Documentation