Handle Touch Event | Sololearn: Learn to code for FREE!

0

Handle Touch Event

How handle Touch Event on both segments of the screen simultaneously? I create game in pong on both player, but method onTouchEvent(MotionEvent motionEvent) can't handle both touch player. Please, help me!

11/8/2021 6:08:14 PM

BoikoMaxim2005

1 Answer

New Answer

0

In java we are having events KeyEvent : when key is clicked or pressed or released MouseEvent : when mouse is clicked pressed released entered exited moved dragged WindowEvent : when window is opened closed closing activated deactivated iconified deiconified