Добавление правок

This commit is contained in:
ShuryginDima 2024-03-13 17:43:14 +03:00
parent c2ae9d68b4
commit bc3d9cac6b

View File

@ -4,10 +4,6 @@
/// </summary> /// </summary>
public class EntitySeaplane : EntityPlane public class EntitySeaplane : EntityPlane
{ {
public EntitySeaplane(int speed, double weight, Color bodyColor, Color additionalColor, bool floats, bool boat) : base(speed, weight, bodyColor)
{
}
/// <summary> /// <summary>
/// Дополнительный цвет (для опциональных элементов) /// Дополнительный цвет (для опциональных элементов)
/// </summary> /// </summary>
@ -33,7 +29,7 @@ public class EntitySeaplane : EntityPlane
/// <param name="additionalColor">Дополнительный цвет</param> /// <param name="additionalColor">Дополнительный цвет</param>
/// <param name="floats">Признак наличия поплавков</param> /// <param name="floats">Признак наличия поплавков</param>
/// <param name="boat">Признак наличия лодки</param> /// <param name="boat">Признак наличия лодки</param>
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; AdditionalColor = additionalColor;
Floats = floats; Floats = floats;