LabWork06: Фиксы, возможен рефакторинг

This commit is contained in:
Safgerd 2022-12-06 17:09:12 +04:00
parent 47e81cce43
commit 94d83a31ca

View File

@ -146,13 +146,12 @@ public class MapsCollection {
case "DumpMap" -> new MapWithSetTracktorGeneric<>(_pictureWidth, _pictureHeight, new DumpMap());
default -> null;
};
_mapsStorage.put(mapName, map);
}
while ((currentLine = reader.readLine()) != null) {
map._setTracktor.insert(DrawningObjectExcavator.create(currentLine));
}
_mapsStorage.put(mapName, map);
}
return true;