Ejemplo n.º 1
0
 public static void RestartGame() {
   player = new Player(10, 200, KH);
   Score = 0;
   ObjectList.Removeall();
   for (int i = 0; i < 75; i++) {
     ObjectList.addEnemy(new Enemy(random.nextInt(400) * 2 + 500, random.nextInt(400) * 2));
   }
 }