@Override
	// KEY LISTENER FUNCTIONS
	public void keyPressed(KeyEvent e) { 
		int keyCode = e.getKeyCode();
		if(keyCode == KeyEvent.VK_LEFT){
			mainPlayer.setLeft(true);
		}
		if(keyCode == KeyEvent.VK_RIGHT){
			mainPlayer.setRight(true);
		}
		if(keyCode == KeyEvent.VK_UP){
			mainPlayer.setUp(true);
		}
		if(keyCode == KeyEvent.VK_DOWN){
			mainPlayer.setDown(true);
		}
		if(keyCode == KeyEvent.VK_SHIFT){
			mainPlayer.setSpeedUp(true);
		}
	}