@Override
	public void keyReleased(KeyEvent e) {
		int keyCode = e.getKeyCode();
		
		if (keyCode == controls.get(MappableAction.PLAYER1_UP)) {
			g.firstPlayerShip.setAccelerating(false);
		} else if (keyCode == controls.get(MappableAction.PLAYER1_LEFT)) {
			g.firstPlayerShip.setTurningLeft(false);
		} else if (keyCode == controls.get(MappableAction.PLAYER1_RIGHT)) {
			g.firstPlayerShip.setTurningRight(false);
		} else if (keyCode == controls.get(MappableAction.PLAYER1_SHOOT)) {
			g.firstPlayer.isShooting = false;
		} else if (keyCode == controls.get(MappableAction.PLAYER2_UP)) {
			g.secondPlayerShip.setAccelerating(false);
		} else if (keyCode == controls.get(MappableAction.PLAYER2_LEFT)) {
			g.secondPlayerShip.setTurningLeft(false);
		} else if (keyCode == controls.get(MappableAction.PLAYER2_RIGHT)) {
			g.secondPlayerShip.setTurningRight(false);
		} else if (keyCode == controls.get(MappableAction.PLAYER2_SHOOT)) {
			g.secondPlayer.isShooting = false;
		} else if (keyCode == controls.get(MappableAction.BACK)) {
			goToMainMenu();
		}
	}