Package com.jme3.input.controls
Class KeyTrigger
java.lang.Object
com.jme3.input.controls.KeyTrigger
- All Implemented Interfaces:
 Trigger
A 
KeyTrigger is used as a mapping to keyboard keys.- 
Constructor Details
- 
KeyTrigger
public KeyTrigger(int keyCode) Create a newKeyTriggerfor the given keycode.- Parameters:
 keyCode- the code for the key, see constants inKeyInput.
 
 - 
 - 
Method Details
- 
getName
 - 
getKeyCode
public int getKeyCode() - 
keyHash
public static int keyHash(int keyCode)  - 
triggerHashCode
public int triggerHashCode()Description copied from interface:TriggerReturns the hash code for the trigger.- Specified by:
 triggerHashCodein interfaceTrigger- Returns:
 - the hash code for the trigger.
 
 
 -