Package com.ardor3d.input.logical
Class TwoInputStates
java.lang.Object
com.ardor3d.input.logical.TwoInputStates
Wrapper class to make it possible to use
Predicate
-based conditions for triggering actions
based on user input.-
Constructor Summary
ConstructorDescriptionTwoInputStates
(InputState previous, InputState current) Instantiates a new TwoInputStates. -
Method Summary
-
Constructor Details
-
TwoInputStates
Instantiates a new TwoInputStates. It is safe for both parameters to point to the same instance, but they cannot be null.- Parameters:
previous
- the previous input statecurrent
- the current input state- Throws:
NullPointerException
- if either parameter is null
-
-
Method Details