Package com.ardor3d.input.logical
Class KeyReleasedCondition
java.lang.Object
com.ardor3d.input.logical.KeyReleasedCondition
- All Implemented Interfaces:
Predicate<TwoInputStates>
A condition that is true when a key was released from the previous to the current input state.
-
Constructor Details
-
KeyReleasedCondition
Construct a new KeyReleasedCondition.- Parameters:
key
- the key that should be held- Throws:
NullPointerException
- if the key is null
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<TwoInputStates>
-