PIbd-12 Shurygin_D.I. LabWork02 Simple #2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user