LibGDX onTouch() method kill on touch
- by johnny-b
How can I add this on my application. i want to use the onTouch() method from the implementation of the InputProcessor to kill the enemies on screen. how do i do that? do i have to do anything to the enemy class? please help Thank you M
@Override
public boolean touchDown(int screenX, int screenY, int pointer, int button) {
return false;
}
here…