158159160161162163164165166167168
} if (input.shoot.pressed && System.currentTimeMillis() - previousShootTime > 500) { previousShootTime = System.currentTimeMillis(); entities.add(new Missile( (int) (player.x + player.width/2))); Game.shoot.play(); } if (checkWin()) { SCORE += 10;