public void keyReleased(KeyEvent e){
	//	
		int key = e.getKeyCode();

		if (key == KeyEvent.VK_RIGHT || key == KeyEvent.VK_LEFT){
			acceleration = 0;
			stance = Stance.forward;
			img = imgForward;
		}
		if (speed == 0){
			stance = Stance.nomove;
			img = imgForward;
		} 
		
		if (key == KeyEvent.VK_UP || key == KeyEvent.VK_DOWN){
			dy = 0;
			img = imgForward;
			stance = Stance.forward;
		}
	}