@Override
	public void update(GameContainer gc, int delta) {
		sprite = ((Mob) gameObject).getSprite();
		switch (gameObject.getMoveDir()) {
		case MOVE_UP:
			lastSprite = idleUp;
			sprite = up;
			break;
		case MOVE_DOWN:
			lastSprite = idleDown;
			sprite = down;
			break;
		case MOVE_LEFT:
			lastSprite = idleLeft;
			sprite = left;
			break;
		case MOVE_RIGHT:
			lastSprite = idleRight;
			sprite = right;
			break;
		case MOVE_NULL:
			sprite = lastSprite;
			break;
		default:
			sprite = lastSprite;
			break;
		}
		((Mob) gameObject).setSprite(sprite);
	}