diff --git a/ProjectExcavator/ProjectExcavator/DrawningExcavator.cs b/ProjectExcavator/ProjectExcavator/DrawningExcavator.cs index 93f9f08..e5e90d3 100644 --- a/ProjectExcavator/ProjectExcavator/DrawningExcavator.cs +++ b/ProjectExcavator/ProjectExcavator/DrawningExcavator.cs @@ -24,19 +24,19 @@ namespace ProjectExcavator.DrawningObjects /// /// Левая координата прорисовки автомобиля /// - private int _startPosX; + protected int _startPosX; /// /// Верхняя кооридната прорисовки автомобиля /// - private int _startPosY; + protected int _startPosY; /// /// Ширина прорисовки автомобиля /// - private readonly int _excavatorWidth = 100; + protected readonly int _excavatorWidth = 100; /// /// Высота прорисовки автомобиля /// - private readonly int _excavatorHeight = 55; + protected readonly int _excavatorHeight = 55; /// /// Конструктор /// diff --git a/ProjectExcavator/ProjectExcavator/EntityExcavatorBodyKits.cs b/ProjectExcavator/ProjectExcavator/EntityExcavatorBodyKits.cs index a93f8ba..d9f7403 100644 --- a/ProjectExcavator/ProjectExcavator/EntityExcavatorBodyKits.cs +++ b/ProjectExcavator/ProjectExcavator/EntityExcavatorBodyKits.cs @@ -33,11 +33,13 @@ namespace ProjectExcavator.Entities /// Дополнительный цвет /// Признак наличия обвеса /// Признак наличия ковша - 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;