OGS Java API Spec

ogs.feats
Class Toughness

java.lang.Object
  |
  +--ogs.support.Object
        |
        +--ogs.core.Feature
              |
              +--ogs.core.Feat
                    |
                    +--ogs.feats.Toughness
All Implemented Interfaces:
EventListener

public class Toughness
extends Feat

A general feat that adds bonus hit points.


Field Summary
 
Fields inherited from class ogs.core.Feat
COMBAT, CUMULATIVE, EXCLUSIVE, GENERAL, MAGIC, REPEATABLE, SPECIAL
 
Fields inherited from class ogs.support.Object
listeners
 
Constructor Summary
Toughness()
           
 
Method Summary
 int getCompatibility()
          Determine the compatibility of this type of feat.
 int getGroup()
          Determine the group that this feat belongs to.
 
Methods inherited from class ogs.core.Feat
canAttach, findFeat, getSlots, getSlotsLevel
 
Methods inherited from class ogs.core.Feature
attachObject, canDetach, detachObject, getObject
 
Methods inherited from class ogs.support.Object
addListener, handleEvent, notifyListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Toughness

public Toughness()
Method Detail

getCompatibility

public int getCompatibility()
Determine the compatibility of this type of feat. Toughness feats are exclusive feats.

Specified by:
getCompatibility in class Feat
Returns:
Feat.EXCLUSIVE.

getGroup

public int getGroup()
Determine the group that this feat belongs to. Toughness feats are general feats.

Specified by:
getGroup in class Feat
Returns:
Feat.GENERAL

OGS Java API Spec