}
}
// Adds a planet in the middle of the screen
if (ngf.getUsePlanet() || ngf.getUseGravity()) {
Planet planet =
new Planet(
(int) bounds.getCenterX(),
(int) bounds.getCenterY(),
ngf.getUsePlanet());
space.addSpaceItem(planet, ngf.getUseGravity());
}