public void fillTiles()
	{
		int assignTileInt = 0;
		switch (tileSet)
		{
			case INDOORS:
				assignTileInt = assignTileIntIndoors;
				break;
			case OUTDOORS:
				assignTileInt = assignTileIntOutdoors;
				break;
		}
		int tileNum = currentArea[location.x][location.y];

		for (int y = location.y; y<=getAreaHeight(); y++)
		{
			if (currentArea[location.x][y] == tileNum)
			{
				for (int i = location.x; i<=getAreaWidth(); i++)
				{
					if (currentArea[i][y] == tileNum)
					currentArea[i][y]=assignTileInt;
					else
					break;
				}
				for (int i = location.x-1; i>=0; i--)
				{
					if (currentArea[i][y] == tileNum)
					currentArea[i][y]=assignTileInt;
					else
					break;
				}
			}
			else
			break;
		}
		for (int y = location.y-1; y>=0; y--)
		{
			if (currentArea[location.x][y] == tileNum)
			{
				for (int i = location.x; i<=getAreaWidth(); i++)
				{
					if (currentArea[i][y] == tileNum)
					currentArea[i][y]=assignTileInt;
					else
					break;
				}
				for (int i = location.x-1; i>=0; i--)
				{
					if (currentArea[i][y] == tileNum)
					currentArea[i][y]=assignTileInt;
					else
					break;
				}
			}
			else
			break;
		}
	}