org.xith3d.input.modules.orih
Class ORIHInputStatesManager

java.lang.Object
  extended by org.jagatoo.input.managers.InputStatesManager
      extended by org.xith3d.input.modules.orih.ORIHInputStatesManager

public class ORIHInputStatesManager
extends org.jagatoo.input.managers.InputStatesManager

This is a special key-states manager for the ObjectRotationInputHandler.


Field Summary
 
Fields inherited from class org.jagatoo.input.managers.InputStatesManager
CONTROLLERS_SUSPENDED, KEYBOARD_SUSPENDED, MOUSE_AXES_SUSPENDED, MOUSE_BUTTONS_SUSPENDED, MOUSE_WHEEL_SUSPENDED
 
Constructor Summary
ORIHInputStatesManager(ObjectRotationInputHandler orih)
           
 
Method Summary
 boolean isRotating()
           
 boolean isRotatingDown()
           
 boolean isRotatingLeft()
           
 boolean isRotatingRight()
           
 boolean isRotatingUp()
           
 boolean isZooming()
           
 boolean isZoomingIn()
           
 boolean isZoomingOut()
           
 void update(long nanoTime)
           
 
Methods inherited from class org.jagatoo.input.managers.InputStatesManager
getActionsByState, getActionsByState, getActionsByState, getActionsByState, getInputState, getInputStatesManipulator, getKeyStatesManipulator, getNumStates, getSimpleInputState, getSuspendMask, hasInputStateChanged, setSuspendMask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ORIHInputStatesManager

public ORIHInputStatesManager(ObjectRotationInputHandler orih)
Method Detail

isRotatingLeft

public final boolean isRotatingLeft()

isRotatingRight

public final boolean isRotatingRight()

isRotatingUp

public final boolean isRotatingUp()

isRotatingDown

public final boolean isRotatingDown()

isRotating

public final boolean isRotating()
Returns:
true, if the player is currently moving into any direction

isZoomingIn

public final boolean isZoomingIn()

isZoomingOut

public final boolean isZoomingOut()

isZooming

public final boolean isZooming()
Returns:
true, if view is currently zooming

update

public void update(long nanoTime)
Overrides:
update in class org.jagatoo.input.managers.InputStatesManager