@Override
	public void keyReleased(KeyEvent e) {

		//only checks for user input if the game has started

		if(gameFrame.gameStarted()){


			// if the user presses W
			if (KeyEvent.getKeyText(e.getKeyCode()).equals("W")) {

				// attempt to move the player forwards
				player.moveForward();
			}

			else if (KeyEvent.getKeyText(e.getKeyCode()).equals("D")) {

				// turn the player right
				player.turnRight();
			}

			else if (KeyEvent.getKeyText(e.getKeyCode()).equals("A")) {

				// turn the player left
				player.turnLeft();
			}
		}

		//resets descriptiontext
		gameFrame.setDescriptionText("",1000,1000);

		gamePanel.update();


	}