public void run() {
		setSpeed(getCurBlockSpeed());
		checkMove();
		if (U == true) {
			if (isBlocked(true, false, false, false) != true) {
				c.moveUp(getSpeed());
				c.setSpritePos(getCurSprite(true, false, false, false));
				repaint();
				checkEntity();
			}
		}
		if (D == true) {
			if (isBlocked(false, true, false, false) != true) {
				c.moveDown(getSpeed());
				c.setSpritePos(getCurSprite(false, true, false, false));
				repaint();
				checkEntity();
			}
		}

		if (R == true) {
			if (isBlocked(false, false, true, false) != true) {
				c.moveRight(getSpeed());
				c.setSpritePos(getCurSprite(false, false, true, false));
				repaint();
				checkEntity();
			}
		}
		if (L == true) {
			if (isBlocked(false, false, false, true) != true) {
				c.moveLeft(getSpeed());
				c.setSpritePos(getCurSprite(false, false, false, true));
				repaint();
				checkEntity();
			}
		}
	}