@Override
	public void keyReleased(KeyEvent arg0) {
		// TODO Auto-generated method stub
		switch (arg0.getKeyCode()) {
		case KeyEvent.VK_UP:
			//System.out.println("Stop Moving Up");
			break;

		case KeyEvent.VK_DOWN:
			//System.out.println("Stop Moving Down");
			break;

		case KeyEvent.VK_LEFT:
			//System.out.println("Stop Moving Left");
			heroClass.updateMovingLeft(false);
			keysPressed[0] = false;
			break;

		case KeyEvent.VK_RIGHT:
			//System.out.println("Stop Moving Right");
			heroClass.updateMovingRight(false);
			keysPressed[1] = false;
			break;

		case KeyEvent.VK_SPACE:
			//System.out.println("Stop Jump");
			break;

		case KeyEvent.VK_SHIFT:
			keysPressed[2] = false;
			ItemClass.updateIsDead(false);
			ItemClass.updateDeadX(0);
			ItemClass.updateDeadY(0);
		}
	}//end keyReleased method