diff --git a/Tank/src/DrawingTank.java b/Tank/src/DrawingTank.java index 1dffe39..714a946 100644 --- a/Tank/src/DrawingTank.java +++ b/Tank/src/DrawingTank.java @@ -20,6 +20,7 @@ public class DrawingTank extends DrawingArmoVehicle { return; } + // Установка позиций public void SetPosition(int x, int y) { _startPosX = Math.min(x, _pictureWidth-_TankWidth); _startPosY = Math.min(y, _pictureHeight-_TankHeight);