Artenus 2D Framework
Artenus Reference

com.annahid.libs.artenus.input

Provides classes and interfaces for the user input framework. This includes ordinary touch inputs (which correspond to the handleTouch behavior of all entities), touch map (bitmap-based touch detection), and non-touch/general-purpose input handlers.

Interface Summary

InterfaceDescription
ButtonRepresents a button.
ButtonListenerInterface for all classes that handle push button events.
InputListenerInterface for classes that response to input status changes.

Class Summary

ClassDescription
FlyInput

Manages game input, using device tilting as the direction knob, and TouchButton objects as the the action buttons.

GameInputSuperclass for all game input controllers.
SlideInput

Manages game input, using slide gestures as the direction knob and touch buttons as action keys.

TouchButtonHandles touch events for the underlying entity.
TouchEventRepresents a touch event in the Artenus framework.
TouchMapUsed internally by the framework to handle bitmapped hit testing for touch buttons.