Kashin M.I. Lab work 6 #11
@ -139,11 +139,11 @@ public class MapsCollection {
|
||||
case "LongMap" -> new MapWithSetGasolineTankerGeneric<>(_pictureWidth, _pictureHeight, new LongMap());
|
||||
default -> null;
|
||||
};
|
||||
_mapStorages.put(mapName, map);
|
||||
}
|
||||
while ((currentLine = reader.readLine()) != null) {
|
||||
map._setGasolineTanker.Insert((DrawingObjectGasolineTanker) DrawingObjectGasolineTanker.Create(currentLine));
|
||||
}
|
||||
_mapStorages.put(mapName, map);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user