PIbd-21_Krasnikov_Lab1.base/WinFormsApp1/MultiTraktor.cs
2022-12-12 23:38:47 +04:00

21 lines
598 B
C#

using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace WinFormsApp1
{
internal class MultiTraktor : EntityTractor
{
public Color DopColor { get; set; }
public bool dopAhead { get; private set; }
public bool dopBehind { get; private set; }
public MultiTraktor(int speed, float weight, Color bodyColor, Color dopColor, bool dopahead, bool dopbehind) : base(speed, weight, bodyColor)
{
DopColor = dopColor;
dopAhead = dopahead;
dopBehind = dopbehind;
}
}
}