private void addSpaceship(Element node) {
for (Element spaceship : node.getChildren("spaceship")) {
@SuppressWarnings("unused")
Spaceship toAdd = null;
try {
toAdd = new Spaceship(
spaceship.getAttributeValue("name"),
Planet.getPlanet(spaceship.getAttributeValue("planet")),
Integer.parseInt(spaceship.getAttributeValue("cost")),
Integer.parseInt(spaceship.getAttributeValue("attack")),
Integer.parseInt(spaceship.getAttributeValue("armor")),