diff --git a/ProjectSportCar/ProjectSportCar/CollectionGenericObjects/CarSharingService.cs b/ProjectSportCar/ProjectSportCar/CollectionGenericObjects/CarSharingService.cs
index e73434f..1060292 100644
--- a/ProjectSportCar/ProjectSportCar/CollectionGenericObjects/CarSharingService.cs
+++ b/ProjectSportCar/ProjectSportCar/CollectionGenericObjects/CarSharingService.cs
@@ -2,8 +2,17 @@
namespace ProjectSportCar.CollectionGenericObjects;
+///
+/// Реализация абстрактной компании - каршеринг
+///
public class CarSharingService : AbstractCompany
{
+ ///
+ /// Конструктор
+ ///
+ ///
+ ///
+ ///
public CarSharingService(int picWidth, int picHeight, ICollectionGenericObjects collection) : base(picWidth, picHeight, collection)
{
}
diff --git a/ProjectSportCar/ProjectSportCar/Entities/EntitySportCar.cs b/ProjectSportCar/ProjectSportCar/Entities/EntitySportCar.cs
index c15abbb..db0900e 100644
--- a/ProjectSportCar/ProjectSportCar/Entities/EntitySportCar.cs
+++ b/ProjectSportCar/ProjectSportCar/Entities/EntitySportCar.cs
@@ -26,7 +26,7 @@ public class EntitySportCar : EntityCar
public bool SportLine { get; private set; }
///
- /// Инициализация полей объекта-класса спортивного автомобиля
+ /// Конструктор сущности
///
/// Скорость
/// Вес автомобиля
@@ -35,7 +35,7 @@ public class EntitySportCar : EntityCar
/// Признак наличия обвеса
/// Признак наличия антикрыла
/// Признак наличия гоночной полосы
- public void Init(int speed, double weight, Color bodyColor, Color additionalColor, bool bodyKit, bool wing, bool sportLine)
+ public EntitySportCar(int speed, double weight, Color bodyColor, Color additionalColor, bool bodyKit, bool wing, bool sportLine) : base(0, 0, Color.Black)
{
AdditionalColor = additionalColor;
BodyKit = bodyKit;
diff --git a/ProjectSportCar/ProjectSportCar/FormSportCar.cs b/ProjectSportCar/ProjectSportCar/FormSportCar.cs
index e484243..6b28e01 100644
--- a/ProjectSportCar/ProjectSportCar/FormSportCar.cs
+++ b/ProjectSportCar/ProjectSportCar/FormSportCar.cs
@@ -59,7 +59,7 @@ public partial class FormSportCar : Form
}
///
- /// Перемешение объекта по форме (нажатие кнопок навигации)
+ /// Перемещение объекта по форме (нажатие кнопок навигации)
///
///
///