jurpe.system
Class EffectType

java.lang.Object
  extended by jurpe.system.EffectType

public final class EffectType
extends java.lang.Object

Type of Effects: temporary modifiers on IQ,DX,ST,HT

Author:
Alessio Saltarin

Field Summary
static EffectType ATTACK_MODIFIER
           
static EffectType DX_MODIFIER
           
static EffectType HT_MODIFIER
           
static EffectType IQ_MODIFIER
           
static EffectType ST_MODIFIER
           
 
Constructor Summary
EffectType(short id)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object o)
          Equals condition for DefenseType
 short getType()
          Get effect type id (ie: EffectType.IQ_MODIFIER=90)
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IQ_MODIFIER

public static final EffectType IQ_MODIFIER

DX_MODIFIER

public static final EffectType DX_MODIFIER

ST_MODIFIER

public static final EffectType ST_MODIFIER

HT_MODIFIER

public static final EffectType HT_MODIFIER

ATTACK_MODIFIER

public static final EffectType ATTACK_MODIFIER
Constructor Detail

EffectType

public EffectType(short id)
Constructor

Parameters:
id - Effect type id (ie: EffectType.IQ_MODIFIER)
Method Detail

getType

public short getType()
Get effect type id (ie: EffectType.IQ_MODIFIER=90)

Returns:
effect type id

equals

public boolean equals(java.lang.Object o)
Equals condition for DefenseType

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Jurpe - Java Universal Role Playing Engine - http://jurpe.sourceforge.net