Изменил(а) на 'ProjectPlane/ProjectPlane/MapsCollection.cs'

This commit is contained in:
devil_1nc 2022-11-25 17:13:13 +04:00
parent 385bd0689c
commit 38a1389ee2

View File

@ -36,7 +36,7 @@ namespace ProjectPlane
/// </summary>
private readonly char separatorData = ';';
public MapsCollection(int pictureWidth, int pictureHeight)
public MapsCollection(int pictureWidth, int pictureHeight)
{
_mapStorages = new Dictionary<string, MapWithSetPlanesGeneric<IDrawingObject, AbstractMap>>();
_pictureWidth = pictureWidth;
@ -102,7 +102,7 @@ namespace ProjectPlane
);
}
}
return true;
}
@ -145,7 +145,7 @@ namespace ProjectPlane
_mapStorages.Add(elem[0], new MapWithSetPlanesGeneric<IDrawingObject, AbstractMap>(_pictureWidth, _pictureHeight, map));
_mapStorages[elem[0]].LoadData(elem[2].Split(separatorData, StringSplitOptions.RemoveEmptyEntries));
}
return true;
}
}
}