Turner I.A. LabWork04 #4

Merged
eegov merged 4 commits from LabWork04 into LabWork03 2022-10-14 09:21:21 +04:00
Showing only changes of commit d60cbc96e5 - Show all commits

View File

@ -42,7 +42,7 @@ namespace AntiAircraftGun
/// <param name="map">Карта</param>
public void AddMap(string name, AbstractMap map)
{
_mapStorages.Add(name, new MapWithSetAntiAircraftGunsGeneric<DrawingObjectAntiAircraftGun, AbstractMap>(_pictureWidth, _pictureHeight, map));
if(!_mapStorages.ContainsKey(name)) _mapStorages.Add(name, new MapWithSetAntiAircraftGunsGeneric<DrawingObjectAntiAircraftGun, AbstractMap>(_pictureWidth, _pictureHeight, map));
}
/// <summary>
/// Удаление карты