OGS Java API Spec

ogs.core
Class Ability.Modifier

java.lang.Object
  |
  +--ogs.support.Object
        |
        +--ogs.core.Modifier
              |
              +--ogs.core.Ability.Modifier
All Implemented Interfaces:
EventListener
Enclosing class:
Ability

public class Ability.Modifier
extends Modifier

The modifier resulting from the current score of an ability.


Nested Class Summary
 
Nested classes inherited from class ogs.core.Modifier
Modifier.Event
 
Field Summary
 
Fields inherited from class ogs.support.Object
listeners
 
Constructor Summary
Ability.Modifier(int value)
          Create a new ability modifier.
 
Method Summary
protected  void handleEvent(EventObject event)
          Update the value of this modifier.
 
Methods inherited from class ogs.core.Modifier
getValue, setValue
 
Methods inherited from class ogs.support.Object
addListener, notifyListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ability.Modifier

public Ability.Modifier(int value)
Create a new ability modifier.

Parameters:
value - Value of this modifier.
Method Detail

handleEvent

protected void handleEvent(EventObject event)
Update the value of this modifier.

Overrides:
handleEvent in class Object
Parameters:
event - The event that occurred.

OGS Java API Spec