// Add the two ships to space
if (ngf.getShip1Pilot() == NewGame.PILOTHUMAN) {
ship1 = new Ship(unitx * 2, unity * 2, space);
} else {
ship1 = new ShipAI(unitx * 2, unity * 2, space);
}
if (ngf.getShip2Pilot() == NewGame.PILOTHUMAN) {
ship2 =
new Ship(
bounds.width - unitx * 2,
bounds.height - unity * 2,
space);
} else {
ship2 =
new ShipAI(
bounds.width - unitx * 2,
bounds.height - unity * 2,
space);
}