From 639dd899ee21b1d114da814abb4bf15d33500dc4 Mon Sep 17 00:00:00 2001 From: ChipsEater Date: Tue, 13 Sep 2022 17:14:17 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SelfPropelledArtilleryUnit/FormArtillery.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SelfPropelledArtilleryUnit/FormArtillery.cs b/SelfPropelledArtilleryUnit/FormArtillery.cs index 0335929..5d415c5 100644 --- a/SelfPropelledArtilleryUnit/FormArtillery.cs +++ b/SelfPropelledArtilleryUnit/FormArtillery.cs @@ -22,9 +22,9 @@ namespace Artilleries _artillery = new DrawingArtillery(); _artillery.Init(rnd.Next(100, 300), rnd.Next(1000, 2000), Color.FromArgb(rnd.Next(0, 256), rnd.Next(0, 256), rnd.Next(0, 256))); _artillery.SetPosition(rnd.Next(pictureBoxArtilleries.Width - 161, pictureBoxArtilleries.Width - 81), rnd.Next(10, 100), pictureBoxArtilleries.Width, pictureBoxArtilleries.Height); - SpeedStatusLabel.Text = $"Скорость: {_artillery.Artillery.Speed}"; - WeightStatusLabel.Text = $"Вес: {_artillery.Artillery.Weight}"; - ColorStatusLabel.Text = $"Цвет: {_artillery.Artillery.BodyColor.Name}"; + SpeedStatusLabel.Text = $"Скорость: {_artillery.Artillery.Speed}"; + WeightStatusLabel.Text = $"Вес: {_artillery.Artillery.Weight}"; + ColorStatusLabel.Text = $"Цвет: {_artillery.Artillery.BodyColor.Name}"; Draw(); }