org.jagatoo.input.actions
Class AbstractInputAction

java.lang.Object
  extended by org.jagatoo.input.actions.AbstractInputAction
All Implemented Interfaces:
InputAction
Direct Known Subclasses:
AbstractInvokableInputAction, AbstractLabeledInputAction

public abstract class AbstractInputAction
extends java.lang.Object
implements InputAction

An InputAction can be bound to an arbitrary InputDevice's component. It is executed on a state-change.


Constructor Summary
AbstractInputAction(int ordinal)
           
 
Method Summary
 int ordinal()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractInputAction

public AbstractInputAction(int ordinal)
Method Detail

ordinal

public final int ordinal()

Specified by:
ordinal in interface InputAction
Returns:
This InputAction's ordinal number, which must be zero-based for all actions of a set.