diff --git a/DrawingObjectShip.java b/DrawingObjectShip.java index 3437abd..dc419c7 100644 --- a/DrawingObjectShip.java +++ b/DrawingObjectShip.java @@ -13,6 +13,9 @@ public class DrawingObjectShip implements IDrawingObject { } return 0; } + public DrawingShip GetDrawingObjectShip() { + return _ship; + } @Override public void SetObject(int x, int y, int width, int height) { _ship.SetPosition(x,y,width,height); diff --git a/FormMapWithSetShipsGeneric.form b/FormMapWithSetShipsGeneric.form index d0a132c..ae9f62e 100644 --- a/FormMapWithSetShipsGeneric.form +++ b/FormMapWithSetShipsGeneric.form @@ -1,16 +1,20 @@