From c6bcc98d3dc85f83b7db4fd3f4e58e2b3efc9fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B8=D0=BC=D0=B0?= Date: Thu, 23 May 2024 02:02:51 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CollectionGenericObjects/AbstractCompany.cs | 2 +- .../ArtilleryUnit/Drawnings/DrawningArtilleryUnit.cs | 8 ++++---- .../Drawnings/ExtentionDrawningArtilleryUnit.cs | 6 +++--- .../ArtilleryUnit/Entities/EntityArtilleryUnit.cs | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ArtilleryUnit/ArtilleryUnit/CollectionGenericObjects/AbstractCompany.cs b/ArtilleryUnit/ArtilleryUnit/CollectionGenericObjects/AbstractCompany.cs index db83ea0..82c05db 100644 --- a/ArtilleryUnit/ArtilleryUnit/CollectionGenericObjects/AbstractCompany.cs +++ b/ArtilleryUnit/ArtilleryUnit/CollectionGenericObjects/AbstractCompany.cs @@ -28,7 +28,7 @@ namespace ProjectArtilleryUnit.CollectionGenericObjects protected readonly int _pictureHeight; /// - /// Коллекция крейсеров + /// Коллекция артиллерийских установок /// protected ICollectionGenericObjects? _collection = null; diff --git a/ArtilleryUnit/ArtilleryUnit/Drawnings/DrawningArtilleryUnit.cs b/ArtilleryUnit/ArtilleryUnit/Drawnings/DrawningArtilleryUnit.cs index 46b38ce..a1c7ef3 100644 --- a/ArtilleryUnit/ArtilleryUnit/Drawnings/DrawningArtilleryUnit.cs +++ b/ArtilleryUnit/ArtilleryUnit/Drawnings/DrawningArtilleryUnit.cs @@ -19,20 +19,20 @@ public class DrawningArtilleryUnit /// private int? _pictureHeight; /// - /// Левая координата прорисовки крейсера + /// Левая координата прорисовки артиллерийской установоки /// protected int? _startPosX; /// - /// Верхняя кооридната прорисовки крейсера + /// Верхняя кооридната прорисовки артиллерийской установоки /// protected int? _startPosY; /// - /// Ширина прорисовки крейсера + /// Ширина прорисовки артиллерийской установоки /// private readonly int _drawningArtilleryUnitWidth = 150; /// - /// Высота прорисовки крейсера + /// Высота прорисовки артиллерийской установоки /// private readonly int _drawningArtilleryUnitHeight = 50; private readonly int _drawningEnginesWidth = 3; diff --git a/ArtilleryUnit/ArtilleryUnit/Drawnings/ExtentionDrawningArtilleryUnit.cs b/ArtilleryUnit/ArtilleryUnit/Drawnings/ExtentionDrawningArtilleryUnit.cs index 6b82d7f..03ea52d 100644 --- a/ArtilleryUnit/ArtilleryUnit/Drawnings/ExtentionDrawningArtilleryUnit.cs +++ b/ArtilleryUnit/ArtilleryUnit/Drawnings/ExtentionDrawningArtilleryUnit.cs @@ -34,11 +34,11 @@ namespace ProjectArtilleryUnit.Drawnings /// /// Получение данных для сохранения в файл /// - /// Сохраняемый объект + /// Сохраняемый объект /// Строка с данными по объекту - public static string GetDataForSave(this DrawningArtilleryUnit drawningCrusier) + public static string GetDataForSave(this DrawningArtilleryUnit drawningArtilleryUnit) { - string[]? array = drawningCrusier?.EntityArtilleryUnit?.GetStringRepresentation(); + string[]? array = drawningArtilleryUnit?.EntityArtilleryUnit?.GetStringRepresentation(); if (array == null) { return string.Empty; diff --git a/ArtilleryUnit/ArtilleryUnit/Entities/EntityArtilleryUnit.cs b/ArtilleryUnit/ArtilleryUnit/Entities/EntityArtilleryUnit.cs index 6a7faf4..1d854a6 100644 --- a/ArtilleryUnit/ArtilleryUnit/Entities/EntityArtilleryUnit.cs +++ b/ArtilleryUnit/ArtilleryUnit/Entities/EntityArtilleryUnit.cs @@ -1,7 +1,7 @@ namespace ProjectArtilleryUnit.Entities; /// -/// Класс-сущность "крейсер" +/// Класс-сущность "артиллерийская установка" /// public class EntityArtilleryUnit { @@ -31,7 +31,7 @@ public class EntityArtilleryUnit public double Step => Speed * 100 / Weight; /// - /// Инициализация полей объекта-класса крейсера + /// Инициализация полей объекта-класса артиллерийской установоки /// /// скорость /// вес