Constructor and Description |
---|
MouseAxisTrigger(int mouseAxis,
boolean negative)
Create a new
MouseAxisTrigger . |
Modifier and Type | Method and Description |
---|---|
int |
getMouseAxis() |
java.lang.String |
getName() |
boolean |
isNegative() |
static int |
mouseAxisHash(int mouseAxis,
boolean negative) |
int |
triggerHashCode()
Returns the hash code for the trigger.
|
public MouseAxisTrigger(int mouseAxis, boolean negative)
MouseAxisTrigger
.
mouseAxis
- Mouse axis. See AXIS_*** constants in MouseInput
negative
- True if listen to negative axis events, false if
listen to positive axis events.public int getMouseAxis()
public boolean isNegative()
public java.lang.String getName()
public static int mouseAxisHash(int mouseAxis, boolean negative)
public int triggerHashCode()
Trigger
triggerHashCode
in interface Trigger