public void movePlayer(int x, int y)
	{
		if(x>0&&canMoveRight)
		{
			playerImage = playerImageRight;
			playerX = playerX + x;
		}
		else if(x<0&&canMoveLeft)
		{
			playerImage = playerImageLeft;
			playerX = playerX + x;
		}
		else if(y>0&&canMoveDown)
		{
			playerImage = playerImageDown;
			playerY = playerY + y;
		}
		else if(y<0&&canMoveUp)
		{
			playerImage = playerImageUp;
			playerY = playerY + y;
		}
	}