Lab_2_Kryukov_AI_Excavator
This commit is contained in:
parent
761cfdbdcc
commit
ce251e6792
@ -24,19 +24,19 @@ namespace ProjectExcavator.DrawningObjects
|
||||
/// <summary>
|
||||
/// Левая координата прорисовки автомобиля
|
||||
/// </summary>
|
||||
private int _startPosX;
|
||||
protected int _startPosX;
|
||||
/// <summary>
|
||||
/// Верхняя кооридната прорисовки автомобиля
|
||||
/// </summary>
|
||||
private int _startPosY;
|
||||
protected int _startPosY;
|
||||
/// <summary>
|
||||
/// Ширина прорисовки автомобиля
|
||||
/// </summary>
|
||||
private readonly int _excavatorWidth = 100;
|
||||
protected readonly int _excavatorWidth = 100;
|
||||
/// <summary>
|
||||
/// Высота прорисовки автомобиля
|
||||
/// </summary>
|
||||
private readonly int _excavatorHeight = 55;
|
||||
protected readonly int _excavatorHeight = 55;
|
||||
/// <summary>
|
||||
/// Конструктор
|
||||
/// </summary>
|
||||
|
@ -33,11 +33,13 @@ namespace ProjectExcavator.Entities
|
||||
/// <param name="additionalColor">Дополнительный цвет</param>
|
||||
/// <param name="bodyKit">Признак наличия обвеса</param>
|
||||
/// <param name="bucket">Признак наличия ковша</param>
|
||||
public EntityExcavatorBodyKits(int speed, double weight,
|
||||
Color bodyColor, Color additionalColor,
|
||||
bool bodyKit, bool bucket)
|
||||
public EntityExcavatorBodyKits(int speed,
|
||||
double weight,
|
||||
Color bodyColor,
|
||||
Color additionalColor,
|
||||
bool bodyKit,
|
||||
bool bucket)
|
||||
{
|
||||
|
||||
AdditionalColor = additionalColor;
|
||||
BodyKit = bodyKit;
|
||||
Bucket = bucket;
|
||||
|
Loading…
x
Reference in New Issue
Block a user