diff --git a/src/MapsCollection.java b/src/MapsCollection.java index e234adb..f0d6a89 100644 --- a/src/MapsCollection.java +++ b/src/MapsCollection.java @@ -37,4 +37,12 @@ public class MapsCollection { } return null; } + + public DrawingObjectWarship get(String name,int i) { + if (_mapStorages.containsKey(name)) + { + return _mapStorages.get(name).GetWarshipInList(i); + } + return null; + } }