|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jinx.action.input.ControlBinder
public class ControlBinder
Contains methods related to detecting the activation of controls.
API Stability: Beta.
Method Summary | |
---|---|
static ControlID[] |
bind(InputDevice[] devices,
int[] lookingFor,
float wait)
Waits at most wait seconds, attempting to detect a difference in one or more of the controls in the array devices. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ControlID[] bind(InputDevice[] devices, int[] lookingFor, float wait)
lookingFor
- the array of ControlID.TYPE_* constants to check for.
The first type that matches will be returned in a ControlID in the array,
so there's no point to redundant combinations, such as two fuzzy types,
or TYPE_HAT_UP_DOWN and TYPE_HAT_DOWN_UP.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |