Небольшие правки.
This commit is contained in:
@@ -26,9 +26,9 @@ public class MapWithSetShipsGeneric<T extends IDrawingObject, U extends Abstrac
|
||||
}
|
||||
public T Delete(int position)
|
||||
{
|
||||
T ship=_setShips.Get(position);
|
||||
T ship=_setShips.Remove(position);
|
||||
_deletedShips.add(ship);
|
||||
return _setShips.Remove(position);
|
||||
return ship;
|
||||
}
|
||||
public BufferedImage ShowSet()
|
||||
{
|
||||
|
||||
@@ -25,7 +25,7 @@ public class MapsCollection {
|
||||
}
|
||||
public void DelMap(String name)
|
||||
{
|
||||
if (_mapStorages.containsKey(name)) _mapStorages.remove(name);
|
||||
_mapStorages.remove(name);
|
||||
}
|
||||
public MapWithSetShipsGeneric<DrawingObjectShip,AbstractMap> Get(String ind)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user