Java Midp 2.0 Touch Screen Games [iOS]

protected void pointerPressed(int x, int y) playerX = Math.min(Math.max(x, 10), getWidth() - 10); shootRequested = true;

protected void pointerDragged(int x, int y) touchX = x; touchY = y; onTouchDrag(x, y); java midp 2.0 touch screen games

Record touch down/up positions to detect direction. protected void pointerPressed(int x, int y) playerX = Math