diff --git a/Battleship/Battleship/CollectionGenericObjects/AbstractCompany.cs b/Battleship/Battleship/CollectionGenericObjects/AbstractCompany.cs index a8d0785..8225125 100644 --- a/Battleship/Battleship/CollectionGenericObjects/AbstractCompany.cs +++ b/Battleship/Battleship/CollectionGenericObjects/AbstractCompany.cs @@ -1,9 +1,4 @@ using Battleship.Drawnings; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Battleship.CollectionGenericObjects; /// @@ -58,7 +53,7 @@ public abstract class AbstractCompany /// Перегрузка оператора сложения для класса /// /// Компания - /// Добавляемый объект + /// Добавляемый объект /// public static int operator +(AbstractCompany company, DrawningShip ship) { diff --git a/Battleship/Battleship/CollectionGenericObjects/CollectionType.cs b/Battleship/Battleship/CollectionGenericObjects/CollectionType.cs index a500b27..443e1bd 100644 --- a/Battleship/Battleship/CollectionGenericObjects/CollectionType.cs +++ b/Battleship/Battleship/CollectionGenericObjects/CollectionType.cs @@ -1,4 +1,4 @@ -namespace ProjectSportCar.CollectionGenericObjects; +namespace Battleship.CollectionGenericObjects; /// /// Тип коллекции diff --git a/Battleship/Battleship/CollectionGenericObjects/ICollectionGenericObjects.cs b/Battleship/Battleship/CollectionGenericObjects/ICollectionGenericObjects.cs index 2732c59..73a6aef 100644 --- a/Battleship/Battleship/CollectionGenericObjects/ICollectionGenericObjects.cs +++ b/Battleship/Battleship/CollectionGenericObjects/ICollectionGenericObjects.cs @@ -1,10 +1,4 @@ -using ProjectSportCar.CollectionGenericObjects; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -namespace Battleship.CollectionGenericObjects; +namespace Battleship.CollectionGenericObjects; /// /// Интерфейс описания действий для набора хранимых объектов diff --git a/Battleship/Battleship/CollectionGenericObjects/ListGenericObjects.cs b/Battleship/Battleship/CollectionGenericObjects/ListGenericObjects.cs index bf033b1..05cd404 100644 --- a/Battleship/Battleship/CollectionGenericObjects/ListGenericObjects.cs +++ b/Battleship/Battleship/CollectionGenericObjects/ListGenericObjects.cs @@ -1,13 +1,4 @@ -using ProjectSportCar.CollectionGenericObjects; -using System; -using System.CodeDom.Compiler; -using System.Collections.Generic; -using System.Linq; -using System.Reflection.Metadata.Ecma335; -using System.Text; -using System.Threading.Tasks; - -namespace Battleship.CollectionGenericObjects; +namespace Battleship.CollectionGenericObjects; public class ListGenericObjects : ICollectionGenericObjects where T : class diff --git a/Battleship/Battleship/CollectionGenericObjects/MassiveGenericObjects.cs b/Battleship/Battleship/CollectionGenericObjects/MassiveGenericObjects.cs index 030abbc..6f35a82 100644 --- a/Battleship/Battleship/CollectionGenericObjects/MassiveGenericObjects.cs +++ b/Battleship/Battleship/CollectionGenericObjects/MassiveGenericObjects.cs @@ -1,12 +1,4 @@ -using Battleship.Drawnings; -using ProjectSportCar.CollectionGenericObjects; -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -namespace Battleship.CollectionGenericObjects; +namespace Battleship.CollectionGenericObjects; /// /// Параметризованный набор объектов /// diff --git a/Battleship/Battleship/CollectionGenericObjects/StorageCollection.cs b/Battleship/Battleship/CollectionGenericObjects/StorageCollection.cs index bdc488d..a336f91 100644 --- a/Battleship/Battleship/CollectionGenericObjects/StorageCollection.cs +++ b/Battleship/Battleship/CollectionGenericObjects/StorageCollection.cs @@ -1,8 +1,7 @@ -using Battleship.CollectionGenericObjects; -using Battleship.Drawnings; +using Battleship.Drawnings; using System.Text; -namespace ProjectSportCar.CollectionGenericObjects; +namespace Battleship.CollectionGenericObjects; /// /// Класс-хранилище коллекций diff --git a/Battleship/Battleship/FormShipCollection.cs b/Battleship/Battleship/FormShipCollection.cs index f1709a2..bd2fa9a 100644 --- a/Battleship/Battleship/FormShipCollection.cs +++ b/Battleship/Battleship/FormShipCollection.cs @@ -1,15 +1,6 @@ using Battleship.CollectionGenericObjects; using Battleship.Drawnings; -using ProjectSportCar.CollectionGenericObjects; -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; + namespace Battleship;