@Override
	public void keyReleased(KeyEvent e) {
		int keyCode = e.getKeyCode();
		if(keyCode == KeyEvent.VK_LEFT){
			mainPlayer.setLeft(false);
		}
		if(keyCode == KeyEvent.VK_RIGHT){
			mainPlayer.setRight(false);
		}
		if(keyCode == KeyEvent.VK_UP){
			mainPlayer.setUp(false);
		}
		if(keyCode == KeyEvent.VK_DOWN){
			mainPlayer.setDown(false);
		}
		if(keyCode == KeyEvent.VK_SHIFT){
			mainPlayer.setSpeedUp(false);
		}
	}