diff --git a/ProjectSeaplane/ProjectSeaplane/Entities/EntitySeaplane.cs b/ProjectSeaplane/ProjectSeaplane/Entities/EntitySeaplane.cs index de0ade8..e97ba9c 100644 --- a/ProjectSeaplane/ProjectSeaplane/Entities/EntitySeaplane.cs +++ b/ProjectSeaplane/ProjectSeaplane/Entities/EntitySeaplane.cs @@ -4,10 +4,6 @@ /// public class EntitySeaplane : EntityPlane { - public EntitySeaplane(int speed, double weight, Color bodyColor, Color additionalColor, bool floats, bool boat) : base(speed, weight, bodyColor) - { - } - /// /// Дополнительный цвет (для опциональных элементов) /// @@ -33,7 +29,7 @@ public class EntitySeaplane : EntityPlane /// Дополнительный цвет /// Признак наличия поплавков /// Признак наличия лодки - public void Init(int speed, double weight, Color bodyColor, Color additionalColor, bool floats, bool boat) + public EntitySeaplane(int speed, double weight, Color bodyColor, Color additionalColor, bool floats, bool boat) : base(speed, weight, bodyColor) { AdditionalColor = additionalColor; Floats = floats;