Groovy Documentation

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

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

class MeleeAction

A MeleeAction is an action by a player during a Grand Melee fight. It defaults to a normal attack against a random target, but may also be the use of an item feature for the player's own benefit or the detriment of an adversary.


Property Summary
PlayerCharacter actor

static java.lang.Object constraints

Feature feature

The feature of the item to be used.

java.lang.String featureConfig

java.lang.Integer initiative

Item item

In case the player uses an item as his melee action, it's stored here.

Melee melee

PlayerCharacter target

MeleeActionType type

 
Constructor Summary
MeleeAction()

 
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

actor

PlayerCharacter actor


constraints

static java.lang.Object constraints


feature

Feature feature
The feature of the item to be used. (An item may have more than one feature)


featureConfig

java.lang.String featureConfig


initiative

java.lang.Integer initiative


item

Item item
In case the player uses an item as his melee action, it's stored here.


melee

Melee melee


target

PlayerCharacter target


type

MeleeActionType type


 
Constructor Detail

MeleeAction

MeleeAction()


 
Method Detail

equals

boolean equals(java.lang.Object o)


hashCode

int hashCode()


 

Groovy Documentation