diff --git a/WarmlyShip/WarmlyShip/FormShip.cs b/WarmlyShip/WarmlyShip/FormShip.cs index 14a5ceb..991c8fe 100644 --- a/WarmlyShip/WarmlyShip/FormShip.cs +++ b/WarmlyShip/WarmlyShip/FormShip.cs @@ -44,6 +44,7 @@ namespace WarmlyShip _ship = new DrawningShip(rnd.Next(100, 300), rnd.Next(1000, 2000), color); SetData(); + Draw(); } private void ButtonMove_Click(object sender, EventArgs e) diff --git a/WarmlyShip/WarmlyShip/MapWithSetShipsGeneric.cs b/WarmlyShip/WarmlyShip/MapWithSetShipsGeneric.cs index 9cb3bfd..212d2f0 100644 --- a/WarmlyShip/WarmlyShip/MapWithSetShipsGeneric.cs +++ b/WarmlyShip/WarmlyShip/MapWithSetShipsGeneric.cs @@ -53,7 +53,7 @@ namespace WarmlyShip /// Перегрузка оператора сложения /// /// - /// + /// /// public static bool operator +(MapWithSetShipsGeneric map, T ship) { diff --git a/WarmlyShip/WarmlyShip/SetShipsGeneric.cs b/WarmlyShip/WarmlyShip/SetShipsGeneric.cs index 5e511a5..8fa50b1 100644 --- a/WarmlyShip/WarmlyShip/SetShipsGeneric.cs +++ b/WarmlyShip/WarmlyShip/SetShipsGeneric.cs @@ -28,7 +28,7 @@ namespace WarmlyShip /// /// Добавление объекта в набор /// - /// Добавляемый автомобиль + /// Добавляемый корабль /// public bool Insert(T ship) { @@ -41,7 +41,7 @@ namespace WarmlyShip /// /// Добавление объекта в набор на конкретную позицию /// - /// Добавляемый автомобиль + /// Добавляемый корабль /// Позиция /// public bool Insert(T ship, int position)