PIbd-23-Radaev-A.V.-20/Catamaran/EntityCatamaranPro.cs

29 lines
757 B
C#
Raw Normal View History

2023-10-31 12:27:43 +04:00

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Catamaran
{
public class EntityCatamaranPro : EntityCatamaran
{
2023-11-25 20:02:11 +04:00
public Color AdditionalColor { get; set; }
2023-10-31 12:27:43 +04:00
public bool Motor { get; private set; }
public bool BodyKit { get; private set; }
2023-11-25 20:02:11 +04:00
public bool Sail { get; private set; }
2023-10-31 12:27:43 +04:00
2023-11-25 20:02:11 +04:00
public EntityCatamaranPro(int speed, double weight, Color bodyColor,Color additionalColor, bool bodykit, bool motor, bool sail) :
base(speed, weight, bodyColor)
2023-10-31 12:27:43 +04:00
{
2023-11-25 20:02:11 +04:00
AdditionalColor = additionalColor;
2023-10-31 12:27:43 +04:00
Motor = motor;
2023-11-25 20:02:11 +04:00
Sail = sail;
2023-10-31 12:27:43 +04:00
BodyKit = bodykit;
}
}
}