Исправление

This commit is contained in:
ChipsEater 2022-10-03 16:26:19 +04:00
parent c1dbdd80ed
commit b25aaeb081

View File

@ -23,9 +23,9 @@ namespace Artilleries
{ {
Random rnd = new(); Random rnd = new();
artillery.SetPosition(rnd.Next(10, 100), rnd.Next(10, 100), pictureBoxArtilleries.Width, pictureBoxArtilleries.Height); artillery.SetPosition(rnd.Next(10, 100), rnd.Next(10, 100), pictureBoxArtilleries.Width, pictureBoxArtilleries.Height);
SpeedStatusLabel.Text = $"Ñêîðîñòü: {artillery.Artillery.Speed}"; SpeedStatusLabel.Text = $"Скорость: {artillery.Artillery.Speed}";
WeightStatusLabel.Text = $"Âåñ: {artillery.Artillery.Weight}"; WeightStatusLabel.Text = $"Вес: {artillery.Artillery.Weight}";
ColorStatusLabel.Text = $"Öâåò: {artillery.Artillery.BodyColor.Name}"; ColorStatusLabel.Text = $"Цвет: {artillery.Artillery.BodyColor.Name}";
} }
private void buttonCreate_Click(object sender, EventArgs e) private void buttonCreate_Click(object sender, EventArgs e)