Package com.jme3.input.ios
Class IosTouchHandler
java.lang.Object
com.jme3.input.ios.IosTouchHandler
IosTouchHandler is the base class that receives touch inputs from the
iOS system and creates the TouchEvents for jME.
- Author:
- iwgeric
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactionDown(int pointerId, long time, float x, float y) voidactionMove(int pointerId, long time, float x, float y) voidactionUp(int pointerId, long time, float x, float y) voiddestroy()protected com.jme3.input.event.InputEventgenerateMouseEvent(com.jme3.input.event.TouchEvent event) voidprotected voidprocessEvent(com.jme3.input.event.TouchEvent event)
-
Field Details
-
numPointers
protected int numPointers -
iosInput
-
-
Constructor Details
-
IosTouchHandler
-
-
Method Details
-
initialize
public void initialize() -
destroy
public void destroy() -
actionDown
public void actionDown(int pointerId, long time, float x, float y) -
actionUp
public void actionUp(int pointerId, long time, float x, float y) -
actionMove
public void actionMove(int pointerId, long time, float x, float y) -
processEvent
protected void processEvent(com.jme3.input.event.TouchEvent event) -
generateMouseEvent
protected com.jme3.input.event.InputEvent generateMouseEvent(com.jme3.input.event.TouchEvent event)
-