Zhimolostnova A.V. Hard lab work 5 #10
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user