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

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