public void updateGameState( SavedGameParser.SavedGameState gameState ) {
		SavedGameParser.ShipState shipState = gameState.getPlayerShipState();
		String newString = null;

		newString = generalPanel.getString(SHIP_NAME).getText();
		if ( newString.length() > 0 ) {
			gameState.setPlayerShipName( newString );
			shipState.setShipName( newString );
		}

		shipState.setHullAmt( generalPanel.getSlider(HULL).getValue() );

		newString = generalPanel.getInt(FUEL).getText();
		try { shipState.setFuelAmt(Integer.parseInt(newString)); }
		catch (NumberFormatException e) {}

		newString = generalPanel.getInt(DRONE_PARTS).getText();
		try { shipState.setDronePartsAmt(Integer.parseInt(newString)); }
		catch (NumberFormatException e) {}

		newString = generalPanel.getInt(MISSILES).getText();
		try { shipState.setMissilesAmt(Integer.parseInt(newString)); }
		catch (NumberFormatException e) {}

		newString = generalPanel.getInt(SCRAP).getText();
		try { shipState.setScrapAmt(Integer.parseInt(newString)); }
		catch (NumberFormatException e) {}

		gameState.setSectorHazardsVisible( generalPanel.getBoolean(HAZARDS_VISIBLE).isSelected() );
	}