diff --git a/Tank/Tank/DrawingTank.cs b/Tank/Tank/DrawingTank.cs index 668d781..8f73c5a 100644 --- a/Tank/Tank/DrawingTank.cs +++ b/Tank/Tank/DrawingTank.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; namespace Tank { - internal class DrawingTank + public class DrawingTank { public EntityTank Tank { get; set; } private int _startPosX; @@ -83,10 +83,12 @@ namespace Tank } Pen pen = new(Color.Black); + // Отрисовка танковых катков Brush BrushBlack = new SolidBrush(Color.Black); g.FillEllipse(BrushBlack, _startPosX + 113, _startPosY + 41, 11, 11); g.FillEllipse(BrushBlack, _startPosX + 13, _startPosY + 40, 11, 11); + // Гусеница Brush BrushGray = new SolidBrush(Color.DarkGray); g.DrawEllipse(pen, _startPosX + 10, _startPosY + 30, 120, 30); diff --git a/Tank/Tank/EntityTank.cs b/Tank/Tank/EntityTank.cs index 0462d23..8eae7ba 100644 --- a/Tank/Tank/EntityTank.cs +++ b/Tank/Tank/EntityTank.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; namespace Tank { - internal class EntityTank + public class EntityTank { public int Speed { get; private set; } public float Weight { get; private set; }