PIbd-23-Radaev-A.V.-20/Catamaran/EntityCatamaranPro.cs
Аркадий Радаев 5ce4825742 res
2023-11-25 20:02:11 +04:00

29 lines
757 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Catamaran
{
public class EntityCatamaranPro : EntityCatamaran
{
public Color AdditionalColor { get; set; }
public bool Motor { get; private set; }
public bool BodyKit { get; private set; }
public bool Sail { get; private set; }
public EntityCatamaranPro(int speed, double weight, Color bodyColor,Color additionalColor, bool bodykit, bool motor, bool sail) :
base(speed, weight, bodyColor)
{
AdditionalColor = additionalColor;
Motor = motor;
Sail = sail;
BodyKit = bodykit;
}
}
}