public void runMap(MainClass mc) {	
		if (keyPress != 0)
		{
			//System.out.println(keyPress);
			this.setCMove(true);
			
			if (keyPress == 68 || keyPress == 39)
			{
				this.moveRight();
				keyPress = 0;
			}
			else if (keyPress == 65 || keyPress == 37)
			{
				this.moveLeft();
				keyPress = 0;
			}
			else if (keyPress == 87 || keyPress == 38)
			{
				this.moveUp();
				keyPress = 0;
			}
			else if (keyPress == 83 || keyPress == 40)
			{
				this.moveDown();
				keyPress = 0;
			}
			else {keyPress = 0;}
		}
	}