Исправление
This commit is contained in:
parent
c1dbdd80ed
commit
b25aaeb081
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user