Изменения
This commit is contained in:
parent
ff9af7035a
commit
d8f4d43245
@ -150,11 +150,11 @@ public class MapsCollection {
|
|||||||
case "SecondMap" -> new MapWithSetWarshipsGeneric<>(_pictureWidth, _pictureHeight, new SecondMap());
|
case "SecondMap" -> new MapWithSetWarshipsGeneric<>(_pictureWidth, _pictureHeight, new SecondMap());
|
||||||
default -> null;
|
default -> null;
|
||||||
};
|
};
|
||||||
|
_mapStorages.put(mapName, map);
|
||||||
}
|
}
|
||||||
while ((currentLine = reader.readLine()) != null) {
|
while ((currentLine = reader.readLine()) != null) {
|
||||||
map._setWarship.Insert((DrawingObjectWarship) DrawingObjectWarship.Create(currentLine));
|
map._setWarship.Insert((DrawingObjectWarship) DrawingObjectWarship.Create(currentLine));
|
||||||
}
|
}
|
||||||
_mapStorages.put(mapName, map);
|
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user