From 8c3119f6c31cdb87d5efc5d5f478dd4233bead96 Mon Sep 17 00:00:00 2001 From: artur-kalimullin <144933634+artur-kalimullin@users.noreply.github.com> Date: Mon, 11 Mar 2024 20:10:34 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BE?= =?UTF-8?q?=D1=87=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ProjectAirFighter/Entities/EntityAirCraft.cs | 4 ++-- .../ProjectAirFighter/MovementStrategy/MoveableAirCraft.cs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ProjectAirFighter/ProjectAirFighter/Entities/EntityAirCraft.cs b/ProjectAirFighter/ProjectAirFighter/Entities/EntityAirCraft.cs index 04ac9bc..293ced5 100644 --- a/ProjectAirFighter/ProjectAirFighter/Entities/EntityAirCraft.cs +++ b/ProjectAirFighter/ProjectAirFighter/Entities/EntityAirCraft.cs @@ -20,7 +20,7 @@ public class EntityAirCraft public Color BodyColor { get; private set; } /// - /// Шаг перемещения истребителя + /// Шаг перемещения самолёта /// public double Step => Speed * 100 / Weight; @@ -28,7 +28,7 @@ public class EntityAirCraft /// Конструктор сущности /// /// Скорость - /// Вес истребителя + /// Вес самолёта /// Основной цвет public EntityAirCraft(int speed, double weight, Color bodyColor) { diff --git a/ProjectAirFighter/ProjectAirFighter/MovementStrategy/MoveableAirCraft.cs b/ProjectAirFighter/ProjectAirFighter/MovementStrategy/MoveableAirCraft.cs index 787543d..ed74e2a 100644 --- a/ProjectAirFighter/ProjectAirFighter/MovementStrategy/MoveableAirCraft.cs +++ b/ProjectAirFighter/ProjectAirFighter/MovementStrategy/MoveableAirCraft.cs @@ -2,19 +2,19 @@ using ProjectAirFighter.MovementStrategy; /// -/// Класс-реализация IMoveableObject с использованием DrawningCar +/// Класс-реализация IMoveableObject с использованием DrawningAirCraft /// public class MoveableAirCraft : IMoveableObject { /// - /// Поле-объект класса DrawningCar или его наследника + /// Поле-объект класса DrawningAirCraft или его наследника /// private readonly DrawningAirCraft? _airCraft = null; /// /// Конструктор /// - /// Объект класса DrawningCar + /// Объект класса DrawningAirCraft public MoveableAirCraft(DrawningAirCraft airCraft) { _airCraft = airCraft;