diff --git a/Tank/src/DrawingStarOrnament.java b/Tank/src/DrawingStarOrnament.java index 2b8ae52..21dddcb 100644 --- a/Tank/src/DrawingStarOrnament.java +++ b/Tank/src/DrawingStarOrnament.java @@ -37,6 +37,7 @@ public class DrawingStarOrnament implements IOrnamentForm { g.setColor(Color.BLACK); g.fillOval(10 + _startPosX, 42 + _startPosY, 20, 20); } + public void Draw(Graphics g, int _startPosX, int _startPosY) { if (wheels == CountWheels.Two){ DrawWheels(g,_startPosX, _startPosY); diff --git a/Tank/src/DrawingWheelsCombination.java b/Tank/src/DrawingWheelsCombination.java index 9ee7762..88e5e03 100644 --- a/Tank/src/DrawingWheelsCombination.java +++ b/Tank/src/DrawingWheelsCombination.java @@ -38,7 +38,6 @@ public class DrawingWheelsCombination implements IOrnamentForm { g.fillOval(10 + _startPosX, 42 + _startPosY, 20, 20); } - public void Draw(Graphics g, int _startPosX, int _startPosY) { if (wheels == CountWheels.Two){ DrawWheels(g,_startPosX, _startPosY);