LabWork06: Фиксы, возможен рефакторинг
This commit is contained in:
parent
47e81cce43
commit
94d83a31ca
@ -146,13 +146,12 @@ public class MapsCollection {
|
|||||||
case "DumpMap" -> new MapWithSetTracktorGeneric<>(_pictureWidth, _pictureHeight, new DumpMap());
|
case "DumpMap" -> new MapWithSetTracktorGeneric<>(_pictureWidth, _pictureHeight, new DumpMap());
|
||||||
default -> null;
|
default -> null;
|
||||||
};
|
};
|
||||||
|
_mapsStorage.put(mapName, map);
|
||||||
}
|
}
|
||||||
|
|
||||||
while ((currentLine = reader.readLine()) != null) {
|
while ((currentLine = reader.readLine()) != null) {
|
||||||
map._setTracktor.insert(DrawningObjectExcavator.create(currentLine));
|
map._setTracktor.insert(DrawningObjectExcavator.create(currentLine));
|
||||||
}
|
}
|
||||||
|
|
||||||
_mapsStorage.put(mapName, map);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user