org.xith3d.input.modules.fpih
Class FPIHInputAction

java.lang.Object
  extended by org.xith3d.input.modules.fpih.FPIHInputAction
All Implemented Interfaces:
org.jagatoo.input.actions.InputAction, org.jagatoo.input.actions.LabeledInputAction

public class FPIHInputAction
extends java.lang.Object
implements org.jagatoo.input.actions.LabeledInputAction

Basic key commands, that can be bound with specific keys.


Field Summary
static FPIHInputAction AIM_DOWN
           
static FPIHInputAction AIM_UP
           
static FPIHInputAction CROUCH
           
static FPIHInputAction DISCRETE_ZOOM_IN
           
static FPIHInputAction DISCRETE_ZOOM_OUT
           
static FPIHInputAction JUMP
           
static FPIHInputAction STRAFE_LEFT
           
static FPIHInputAction STRAFE_RIGHT
           
static FPIHInputAction TURN_LEFT
           
static FPIHInputAction TURN_RIGHT
           
static FPIHInputAction WALK_BACKWARD
           
static FPIHInputAction WALK_FORWARD
           
static FPIHInputAction ZOOM_IN
           
static FPIHInputAction ZOOM_OUT
           
 
Constructor Summary
protected FPIHInputAction(java.lang.String text, boolean isRepositioning, boolean isMovement)
          Creates a new FPIHInputAction.
 
Method Summary
 java.lang.String getLocalizedText()
          
 java.lang.String getText()
          
 boolean isMovement()
          Is this action one of the walking actions?
 boolean isRepositioning()
          Does this action modify the camera'a position?
 int ordinal()
          
 java.lang.String toString()
          
static FPIHInputAction[] values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TURN_LEFT

public static final FPIHInputAction TURN_LEFT

TURN_RIGHT

public static final FPIHInputAction TURN_RIGHT

AIM_UP

public static final FPIHInputAction AIM_UP

AIM_DOWN

public static final FPIHInputAction AIM_DOWN

WALK_FORWARD

public static final FPIHInputAction WALK_FORWARD

WALK_BACKWARD

public static final FPIHInputAction WALK_BACKWARD

STRAFE_LEFT

public static final FPIHInputAction STRAFE_LEFT

STRAFE_RIGHT

public static final FPIHInputAction STRAFE_RIGHT

JUMP

public static final FPIHInputAction JUMP

CROUCH

public static final FPIHInputAction CROUCH

ZOOM_IN

public static final FPIHInputAction ZOOM_IN

ZOOM_OUT

public static final FPIHInputAction ZOOM_OUT

DISCRETE_ZOOM_IN

public static final FPIHInputAction DISCRETE_ZOOM_IN

DISCRETE_ZOOM_OUT

public static final FPIHInputAction DISCRETE_ZOOM_OUT
Constructor Detail

FPIHInputAction

protected FPIHInputAction(java.lang.String text,
                          boolean isRepositioning,
                          boolean isMovement)
Creates a new FPIHInputAction.

Parameters:
text - the text label for bindings manager GUIs
isRepositioning - Does this action modify the camera'a position?
isMovement - Walking Action?
Method Detail

values

public static final FPIHInputAction[] values()

ordinal

public final int ordinal()

Specified by:
ordinal in interface org.jagatoo.input.actions.InputAction

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

getText

public final java.lang.String getText()

Specified by:
getText in interface org.jagatoo.input.actions.LabeledInputAction

getLocalizedText

public java.lang.String getLocalizedText()

Specified by:
getLocalizedText in interface org.jagatoo.input.actions.LabeledInputAction

isRepositioning

public final boolean isRepositioning()
Does this action modify the camera'a position?

Returns:
modifying camera position?

isMovement

public final boolean isMovement()
Is this action one of the walking actions?

Returns:
walking action?