Лаба два без комментариев
This commit is contained in:
parent
e5b98208f6
commit
a05c70a7e3
@ -99,9 +99,7 @@ public class DrawningDozer
|
|||||||
protected DrawningDozer (int drawningBulldozerWidth, int drawningBulldozerHeigh) :this()
|
protected DrawningDozer (int drawningBulldozerWidth, int drawningBulldozerHeigh) :this()
|
||||||
{
|
{
|
||||||
_drawningBulldozerWidth = drawningBulldozerWidth;
|
_drawningBulldozerWidth = drawningBulldozerWidth;
|
||||||
//????????
|
|
||||||
_pictureHeight = drawningBulldozerHeigh;
|
_pictureHeight = drawningBulldozerHeigh;
|
||||||
//????????
|
|
||||||
}
|
}
|
||||||
|
|
||||||
///<summary>
|
///<summary>
|
||||||
|
@ -12,7 +12,6 @@ namespace ProjectBulldozer.Entities;
|
|||||||
public class EntityBulldozer : EntityDozer
|
public class EntityBulldozer : EntityDozer
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
///<summary>
|
///<summary>
|
||||||
/// Признак (опция) наличие отвала(ковша)
|
/// Признак (опция) наличие отвала(ковша)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -22,26 +21,7 @@ public class EntityBulldozer : EntityDozer
|
|||||||
/// Признак (опция) наличие гусеницы
|
/// Признак (опция) наличие гусеницы
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool Caterpillar { get; private set; }
|
public bool Caterpillar { get; private set; }
|
||||||
/*
|
|
||||||
///<summary>
|
|
||||||
/// Шаг перемещения бульдозера
|
|
||||||
/// </summary>
|
|
||||||
public double Step => Speed * 100 / Weight;*/
|
|
||||||
/*
|
|
||||||
///<summary>
|
|
||||||
///Инициализация полей объекта-класса бульдозера
|
|
||||||
/// </summary>
|
|
||||||
///<param name="speed">Скорость</param>
|
|
||||||
///<param name="weight">Вес</param>
|
|
||||||
///<param name="bodyColor">Основной цвет</param>
|
|
||||||
///<param name="additionalColor">Дополнительный цвет</param>
|
|
||||||
///<param name="blade">Признак наличия отвала</param>
|
|
||||||
///<param name="caterpillar">Признак наличия гусеницы</param>
|
|
||||||
public void EntityBulldozer(bool blade, bool caterpillar) base(speed, )
|
|
||||||
{
|
|
||||||
Blade = blade;
|
|
||||||
Caterpillar = caterpillar;
|
|
||||||
}*/
|
|
||||||
public EntityBulldozer(int speed, double weight, Color bodyColor, Color additionalColor, bool blade, bool caterpillar) : base(speed, weight, bodyColor, additionalColor)
|
public EntityBulldozer(int speed, double weight, Color bodyColor, Color additionalColor, bool blade, bool caterpillar) : base(speed, weight, bodyColor, additionalColor)
|
||||||
{
|
{
|
||||||
Blade = blade;
|
Blade = blade;
|
||||||
|
@ -178,5 +178,3 @@ public partial class FormBulldozer : Form
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//2
|
|
||||||
|
Loading…
Reference in New Issue
Block a user