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.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
actionDown
(int pointerId, long time, float x, float y) void
actionMove
(int pointerId, long time, float x, float y) void
actionUp
(int pointerId, long time, float x, float y) void
destroy()
protected InputEvent
generateMouseEvent
(TouchEvent event) void
protected void
processEvent
(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
-
generateMouseEvent
-