/** Let the player fall to the ground */ private void playerDeadFall() { player.dead(); do { player.move(); draw(); // sleep try { Thread.sleep(UPDATE_INTERVAL / 4); } catch (InterruptedException e) { e.printStackTrace(); } } while (!player.isTouchingGround()); }