}
private void addSpacecrafts(Element node) {
for (Element spacecraft : node.getChildren("spacecraft")) {
@SuppressWarnings("unused")
Spacecraft toAdd = null;
try {
toAdd = new Spacecraft(
spacecraft.getAttributeValue("name"),
Planet.getPlanet(spacecraft.getAttributeValue("planet")),
Integer.parseInt(spacecraft.getAttributeValue("cost")),
Integer.parseInt(spacecraft.getAttributeValue("armor")),
Integer.parseInt(spacecraft.getAttributeValue("speed")));