/**
  * returns the amount of asteroids in the game
  *
  * @return the amount of asteroids in the game
  */
 public int getAsteroidCount() {
   int i = 0;
   for (SpaceObject object : this.objects) {
     if (object.getClass() == Asteroid.class) i++;
   }
   return i;
 }