|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.input.managers.InputStatesManipulator
public class InputStatesManipulator
The InputStatesManipulator provides a simple interface for
key states manipulations.
| Constructor Summary | |
|---|---|
protected |
InputStatesManipulator(InputStatesManager keyStatesManager)
|
| Method Summary | |
|---|---|
protected void |
apply(short[] currStates)
Applies the new key states to the InputStatesManager. |
java.lang.Short |
getState(InputAction action)
|
void |
setState(InputAction action,
java.lang.Short state)
Sets the state for the given action. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected InputStatesManipulator(InputStatesManager keyStatesManager)
| Method Detail |
|---|
public final void setState(InputAction action,
java.lang.Short state)
action - state - the state. Use null to not override the real input-state.public final java.lang.Short getState(InputAction action)
action -
protected void apply(short[] currStates)
InputStatesManager.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||