com.annahid.libs.artenus.input
FlyInput
Manages game input, using device tilting as the direction knob, and TouchButton objects as the the action buttons.
This class is not yet mature and fully tested, and it is recommended that you do not yet use it in your games.
public class FlyInput extends GameInput
Field Summary
Fields inherited from com.annahid.libs.artenus.input.GameInput
Constructor Summary
Modifier and Type | Constructor and Description |
---|---|
public | FlyInput() |
Method Summary
Modifier and Type | Method and Description |
---|---|
public void | cancelX() |
public void | cancelY() |
public void | onAttach(Scene scene) Registers this FlyInput manager to the given context and begins listening for sensor
data. |
public void | onDetach(Scene scene) Unregisters this GameInput and releases resources associated with it. |
Methods inherited from com.annahid.libs.artenus.input.GameInput
getDirection
, getKeyMap
, hasBehavior
, holdKeyMap
, isKeyPressed
, onAttach
, onDetach
, pressKeys
, releaseKeyMap
, releaseKeys
, setListener
Methods inherited from java.lang.Object
clone
, equals
, finalize
, getClass
, hashCode
, notify
, notifyAll
, toString
, wait
, wait
, wait
Method Detail
cancelX |
---|
public void cancelX() |
cancelY |
---|
public void cancelY() |
onAttach |
---|
public void onAttach( Scene scene ) Registers this FlyInput manager to the given context and begins listening for sensor
data. Overrides:
|
onDetach |
---|
public void onDetach( Scene scene ) Unregisters this GameInput and releases resources associated with it. Overrides:
|