diff --git a/ProjectAirBomber/ProjectAirBomber/CollectionGenericObjects/AbstractCompany.cs b/ProjectAirBomber/ProjectAirBomber/CollectionGenericObjects/AbstractCompany.cs index e93459c..76662de 100644 --- a/ProjectAirBomber/ProjectAirBomber/CollectionGenericObjects/AbstractCompany.cs +++ b/ProjectAirBomber/ProjectAirBomber/CollectionGenericObjects/AbstractCompany.cs @@ -28,7 +28,7 @@ public abstract class AbstractCompany protected readonly int _pictureHeight; /// - /// Коллекция поездов + /// Коллекция самолётов /// protected ICollectionGenericObjects? _collection = null; diff --git a/ProjectAirBomber/ProjectAirBomber/CollectionGenericObjects/BomberHungarService.cs b/ProjectAirBomber/ProjectAirBomber/CollectionGenericObjects/BomberHungarService.cs index 337add7..d83c69a 100644 --- a/ProjectAirBomber/ProjectAirBomber/CollectionGenericObjects/BomberHungarService.cs +++ b/ProjectAirBomber/ProjectAirBomber/CollectionGenericObjects/BomberHungarService.cs @@ -40,7 +40,9 @@ public class BomberHungarService : AbstractCompany } - + /// + /// Установка объекта в Ангар + /// protected override void SetObjectsPosition() { int n = 0; diff --git a/ProjectAirBomber/ProjectAirBomber/Drawnings/DirectionType.cs b/ProjectAirBomber/ProjectAirBomber/Drawnings/DirectionType.cs index df80ecf..fe6dba4 100644 --- a/ProjectAirBomber/ProjectAirBomber/Drawnings/DirectionType.cs +++ b/ProjectAirBomber/ProjectAirBomber/Drawnings/DirectionType.cs @@ -5,6 +5,9 @@ /// public enum DirectionType { + /// + /// Неизвестное направление + /// Unknow = -1, /// /// Вверх diff --git a/ProjectAirBomber/ProjectAirBomber/Drawnings/DrawningAirBomber.cs b/ProjectAirBomber/ProjectAirBomber/Drawnings/DrawningAirBomber.cs index 5d0e8c3..578a8c5 100644 --- a/ProjectAirBomber/ProjectAirBomber/Drawnings/DrawningAirBomber.cs +++ b/ProjectAirBomber/ProjectAirBomber/Drawnings/DrawningAirBomber.cs @@ -21,7 +21,7 @@ public class DrawningAirBomber : DrawningBomber - //TO DO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + //TO DO! public DrawningAirBomber(int speed, double weight, Color bodyColor, Color additionalColor, bool fuelTanks, bool bombs) : base(200, 160) { EntityBomber = new EntityAirBomber(speed, weight, bodyColor, additionalColor, fuelTanks, bombs); diff --git a/ProjectAirBomber/ProjectAirBomber/Entities/EntityBomber.cs b/ProjectAirBomber/ProjectAirBomber/Entities/EntityBomber.cs index 7d24cca..33745d2 100644 --- a/ProjectAirBomber/ProjectAirBomber/Entities/EntityBomber.cs +++ b/ProjectAirBomber/ProjectAirBomber/Entities/EntityBomber.cs @@ -30,7 +30,7 @@ public class EntityBomber /// Вес бомбардировщика /// Основной цвет /// - /// TO DO?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + /// TO DO public EntityBomber(int speed, double weight, Color bodyColor) { Speed = speed; diff --git a/ProjectAirBomber/ProjectAirBomber/MovementStrategy/MoveToBorder.cs b/ProjectAirBomber/ProjectAirBomber/MovementStrategy/MoveToBorder.cs index d3c61f8..bc10052 100644 --- a/ProjectAirBomber/ProjectAirBomber/MovementStrategy/MoveToBorder.cs +++ b/ProjectAirBomber/ProjectAirBomber/MovementStrategy/MoveToBorder.cs @@ -2,6 +2,9 @@ namespace ProjectAirBomber.MovementStrategy; +/// +/// Стратегия перемещения объекта в край экрана +/// public class MoveToBorder : AbstractStrategy { protected override bool IsTargetDestinaion() diff --git a/ProjectAirBomber/ProjectAirBomber/MovementStrategy/MoveToCenter.cs b/ProjectAirBomber/ProjectAirBomber/MovementStrategy/MoveToCenter.cs index 6966932..8631220 100644 --- a/ProjectAirBomber/ProjectAirBomber/MovementStrategy/MoveToCenter.cs +++ b/ProjectAirBomber/ProjectAirBomber/MovementStrategy/MoveToCenter.cs @@ -1,6 +1,10 @@  namespace ProjectAirBomber.MovementStrategy; +/// +/// Стратегия перемещения объекта в центр экрана +/// + public class MoveToCenter : AbstractStrategy { protected override bool IsTargetDestinaion() diff --git a/ProjectAirBomber/ProjectAirBomber/MovementStrategy/MoveableTrans.cs b/ProjectAirBomber/ProjectAirBomber/MovementStrategy/MoveableBomber.cs similarity index 95% rename from ProjectAirBomber/ProjectAirBomber/MovementStrategy/MoveableTrans.cs rename to ProjectAirBomber/ProjectAirBomber/MovementStrategy/MoveableBomber.cs index 2349cc7..dd96191 100644 --- a/ProjectAirBomber/ProjectAirBomber/MovementStrategy/MoveableTrans.cs +++ b/ProjectAirBomber/ProjectAirBomber/MovementStrategy/MoveableBomber.cs @@ -5,7 +5,7 @@ namespace ProjectAirBomber.MovementStrategy; public class MoveableBomber : IMoveableObject { /// - /// Поле-объект класса DrawningTrans или его наследника + /// Поле-объект класса DrawningBomber или его наследника /// private readonly DrawningBomber? _bomber = null; ///