Artenus 2D Framework
Artenus Reference

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 TypeConstructor and Description
public FlyInput()

Method Summary

Modifier and TypeMethod and Description
public voidcancelX()
public voidcancelY()
public voidonAttach(Scene scene)
Registers this FlyInput manager to the given context and begins listening for sensor data.
public voidonDetach(Scene scene)
Unregisters this GameInput and releases resources associated with it.

Methods inherited from com.annahid.libs.artenus.input.GameInput

Methods inherited from java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

FlyInput
public  FlyInput()

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: