public class MrDefaultEventListener extends MrEventsListener
Constructor and Description |
---|
MrDefaultEventListener() |
Modifier and Type | Method and Description |
---|---|
void |
onTick() |
boolean |
onTouch(MotionEvent event) |
protected void |
processEvent(java.lang.String eventName,
MrBundle eventBundle)
Process a certain event
|
protected void |
registerEvents(java.util.Set<java.lang.String> events)
Register multiple events at once
|
getAttachedObject, getObjectController, getRegisteredEvents, isEventRegistered, queueEvent, registerEvent, setObjectController, toString, unregisterEvent, updateEvents
public boolean onTouch(MotionEvent event)
public void onTick()
protected void processEvent(java.lang.String eventName, MrBundle eventBundle)
MrEventsListener
processEvent
in class MrEventsListener
eventName
- event name receivedeventBundle
- bundle containing event dataprotected void registerEvents(java.util.Set<java.lang.String> events)
MrEventsListener
registerEvents
in class MrEventsListener