PIbd-12 Shurygin_D.I. LabWork02 Simple #2

Closed
ShuryginDima wants to merge 3 commits from LabWork02 into LabWork01
Showing only changes of commit bc3d9cac6b - Show all commits

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;