LabWork04 #5

Merged
ShuryginDima merged 9 commits from LabWork04 into LabWork05 2024-04-21 15:58:46 +04:00
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;