@Override
	public void keyReleased(KeyEvent e) {
		if(e.getKeyCode() == KeyEvent.VK_W) upPressed = false;
		if(e.getKeyCode() == KeyEvent.VK_S) downPressed = false;
		if(e.getKeyCode() == KeyEvent.VK_A) leftPressed = false;
		if(e.getKeyCode() == KeyEvent.VK_D) rightPressed = false;
		if(e.getKeyCode() == KeyEvent.VK_1) onePressed = false;	
		if(e.getKeyCode() == KeyEvent.VK_2) twoPressed = false;	
		if(e.getKeyCode() == KeyEvent.VK_3) threePressed = false;	
		if(e.getKeyCode() == KeyEvent.VK_ENTER) enterPressed = false;	
		if(e.getKeyCode() == KeyEvent.VK_SPACE) spacePressed = false;	
		
	}