PIbd-21_Krasnikov_Lab1.base/WinFormsApp1/MultiTraktor.cs

21 lines
598 B
C#
Raw Permalink Normal View History

using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace WinFormsApp1
{
internal class MultiTraktor : EntityTractor
{
2022-12-12 23:38:47 +04:00
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;
2022-12-12 23:38:47 +04:00
dopAhead = dopahead;
dopBehind = dopbehind;
}
}
}