diff --git a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/DirectionType.cs b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/DirectionType.cs new file mode 100644 index 0000000..c561ded --- /dev/null +++ b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/DirectionType.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace RPP_FirstLaba_Tractor +{ + public enum DirectionType + { + /// + /// /// Вверх + /// /// + Up = 1, + /// + /// Вниз + /// + Down = 2, + /// + /// Влево + /// + Left = 3, + /// + /// Вправо + /// + Right = 4 + + } +} diff --git a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/DrawingTractor.cs b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/DrawingTractor.cs new file mode 100644 index 0000000..d354f33 --- /dev/null +++ b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/DrawingTractor.cs @@ -0,0 +1,180 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace RPP_FirstLaba_Tractor +{ + internal class DrawningTractor + { + /// + /// Класс-сущность + /// + public EntityTractor? EntityTractor { get; private set; } + /// + /// Ширина окна + /// + private int _pictureWidth; + /// + /// Высота окна + /// + private int _pictureHeight; + /// + /// Левая координата прорисовки автомобиля + /// + private int _startPosX; + /// + /// Верхняя кооридната прорисовки автомобиля + /// + private int _startPosY; + /// + /// Ширина прорисовки автомобиля + /// + private readonly int _tractorWidth = 80; + /// + /// Высота прорисовки автомобиля + /// + private readonly int _tractorHeight = 60; + /// + /// Инициализация свойств + /// + /// Скорость + /// Вес + /// Цвет кузова + /// Дополнительный цвет + /// Признак наличия обвеса + /// Признак наличия антикрыла + /// Признак наличия гоночной полосы + /// Ширина картинки + /// Высота картинки + /// true - объект создан, false - проверка не пройдена,нельзя создать объект в этих размерах + public bool Init(int speed, double weight, Color bodyColor, int width, int height) + { + + _pictureWidth = width; + _pictureHeight = height; + if (_tractorWidth > _pictureHeight || _tractorHeight > _pictureHeight) + { + _pictureWidth = 2 * _tractorWidth; + _pictureHeight = 2 * _tractorHeight; + + } + EntityTractor = new EntityTractor(); + EntityTractor.Init(speed, weight, bodyColor); + return true; + } + /// + /// Установка позиции + /// + /// Координата X + /// Координата Y + public void SetPosition(int x, int y) + { + _startPosX = x; + _startPosY = y; + + if ((x + _tractorWidth > _pictureWidth) || (y + _pictureHeight > _pictureHeight)) + { + Random random = new(); + x = random.Next(0, _pictureWidth); + x = random.Next(0, _pictureHeight); + } + } + /// + /// Изменение направления перемещения + /// + /// Направление + /// + + public void MoveTransport(DirectionType direction) + { + if (EntityTractor == null) + { + return; + } + switch (direction) + { + //влево + case DirectionType.Left: + if (_startPosX - EntityTractor.Step > 0) + { + _startPosX -= (int)EntityTractor.Step; + } + break; + //вверх + case DirectionType.Up: + if (_startPosY - EntityTractor.Step > 0) + { + _startPosY -= (int)EntityTractor.Step; + } + break; + // вправо + case DirectionType.Right: + if (_startPosX + _tractorWidth + EntityTractor.Step < _pictureWidth) + { + _startPosX += (int)EntityTractor.Step; + } + break; + //вниз + case DirectionType.Down: + if (_startPosY + _tractorHeight + EntityTractor.Step < _pictureHeight) + { + _startPosY += (int)EntityTractor.Step; + } + break; + } + } + /// + /// Прорисовка объекта + /// + /// + public void DrawTransport(Graphics g) + { + if (EntityTractor == null) + { + return; + } + Pen pen = new(Color.Black); + Brush brGray = new SolidBrush(Color.Gray); + Brush brBlack = new SolidBrush(Color.Black); + Brush additionalBrush = new + SolidBrush(EntityTractor.BodyColor); + + //Гусеницы + g.FillEllipse(brGray, _startPosX, _startPosY + 41, 25, 25); + g.FillEllipse(brGray, _startPosX + 55, _startPosY + 41, 25, 25); + g.FillRectangle(brGray, _startPosX + 13, _startPosY + 41, 54, 25); + //колеса + g.FillEllipse(brBlack, _startPosX, _startPosY + 45, 15, 15); + g.FillEllipse(brBlack, _startPosX + 65, _startPosY + 45, 15, 15); + g.FillEllipse(brBlack, _startPosX + 35, _startPosY + 55, 10, 10); + g.FillEllipse(brBlack, _startPosX + 20, _startPosY + 55, 10, 10); + g.FillEllipse(brBlack, _startPosX + 50, _startPosY + 55, 10, 10); + g.FillEllipse(brBlack, _startPosX + 25, _startPosY + 40, 10, 10); + g.FillEllipse(brBlack, _startPosX + 45, _startPosY + 40, 10, 10); + //кузов + g.FillRectangle(additionalBrush, _startPosX, _startPosY + 20, 80, 20); + g.FillRectangle(additionalBrush, _startPosX + 60, _startPosY, 10, 20); + g.FillRectangle(additionalBrush, _startPosX, _startPosY, 40, 20); + + //Окно + Brush brBlue = new SolidBrush(Color.Blue); + g.FillRectangle(brBlue, _startPosX + 10, _startPosY + 3, 25, 15); + + //Колеса + g.FillEllipse(additionalBrush, _startPosX + 2, _startPosY + 47, 11, 11); + g.FillEllipse(additionalBrush, _startPosX + 67, _startPosY + 47, 11, 11); + g.FillEllipse(additionalBrush, _startPosX + 37, _startPosY + 57, 6, 6); + g.FillEllipse(additionalBrush, _startPosX + 22, _startPosY + 57, 6, 6); + g.FillEllipse(additionalBrush, _startPosX + 52, _startPosY + 57, 6, 6); + g.FillEllipse(additionalBrush, _startPosX + 27, _startPosY + 42, 6, 6); + g.FillEllipse(additionalBrush, _startPosX + 47, _startPosY + 42, 6, 6); + + //границы трактора + g.DrawRectangle(pen, _startPosX, _startPosY + 20, 80, 20); + g.DrawRectangle(pen, _startPosX + 60, _startPosY, 10, 20); + g.DrawRectangle(pen, _startPosX, _startPosY, 40, 20); + } + } +} diff --git a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Form1.Designer.cs b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Form1.Designer.cs deleted file mode 100644 index 25ca53f..0000000 --- a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Form1.Designer.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace RPP_FirstLaba_Tractor -{ - partial class Form1 - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); - this.Text = "Form1"; - } - - #endregion - } -} \ No newline at end of file diff --git a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Form1.cs b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Form1.cs deleted file mode 100644 index 4f2d728..0000000 --- a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Form1.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace RPP_FirstLaba_Tractor -{ - public partial class Form1 : Form - { - public Form1() - { - InitializeComponent(); - } - } -} \ No newline at end of file diff --git a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/FormTractor.cs b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/FormTractor.cs new file mode 100644 index 0000000..da6423d --- /dev/null +++ b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/FormTractor.cs @@ -0,0 +1,109 @@ +namespace RPP_FirstLaba_Tractor +{ + public partial class FormTractor : Form + { + private Button buttonTop; + private Button buttonLeft; + private Button buttonDown; + private Button buttonRight; + private Button buttonCreate; + private PictureBox pictureBoxTractor; + + public FormTractor() + { + InitializeComponent(); + } + + private void InitializeComponent() + { + this.pictureBoxTractor = new System.Windows.Forms.PictureBox(); + this.buttonTop = new System.Windows.Forms.Button(); + this.buttonLeft = new System.Windows.Forms.Button(); + this.buttonDown = new System.Windows.Forms.Button(); + this.buttonRight = new System.Windows.Forms.Button(); + this.buttonCreate = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTractor)).BeginInit(); + this.SuspendLayout(); + // + // pictureBoxTractor + // + this.pictureBoxTractor.Dock = System.Windows.Forms.DockStyle.Fill; + this.pictureBoxTractor.Location = new System.Drawing.Point(0, 0); + this.pictureBoxTractor.Name = "pictureBoxTractor"; + this.pictureBoxTractor.Size = new System.Drawing.Size(882, 453); + this.pictureBoxTractor.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.pictureBoxTractor.TabIndex = 0; + this.pictureBoxTractor.TabStop = false; + // + // buttonTop + // + this.buttonTop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonTop.BackgroundImage = global::RPP_FirstLaba_Tractor.Properties.Resources.arrowUp; + this.buttonTop.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonTop.Location = new System.Drawing.Point(804, 376); + this.buttonTop.Name = "buttonTop"; + this.buttonTop.Size = new System.Drawing.Size(30, 30); + this.buttonTop.TabIndex = 1; + this.buttonTop.UseVisualStyleBackColor = true; + // + // buttonLeft + // + this.buttonLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonLeft.BackgroundImage = global::RPP_FirstLaba_Tractor.Properties.Resources.arrowLeft; + this.buttonLeft.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonLeft.Location = new System.Drawing.Point(768, 411); + this.buttonLeft.Name = "buttonLeft"; + this.buttonLeft.Size = new System.Drawing.Size(30, 30); + this.buttonLeft.TabIndex = 2; + this.buttonLeft.UseVisualStyleBackColor = true; + // + // buttonDown + // + this.buttonDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonDown.BackgroundImage = global::RPP_FirstLaba_Tractor.Properties.Resources.arrowDown; + this.buttonDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonDown.Location = new System.Drawing.Point(804, 411); + this.buttonDown.Name = "buttonDown"; + this.buttonDown.Size = new System.Drawing.Size(30, 30); + this.buttonDown.TabIndex = 3; + this.buttonDown.UseVisualStyleBackColor = true; + // + // buttonRight + // + this.buttonRight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonRight.BackgroundImage = global::RPP_FirstLaba_Tractor.Properties.Resources.arrowRight; + this.buttonRight.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonRight.Location = new System.Drawing.Point(840, 411); + this.buttonRight.Name = "buttonRight"; + this.buttonRight.Size = new System.Drawing.Size(30, 30); + this.buttonRight.TabIndex = 4; + this.buttonRight.UseVisualStyleBackColor = true; + // + // buttonCreate + // + this.buttonCreate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.buttonCreate.Location = new System.Drawing.Point(12, 412); + this.buttonCreate.Name = "buttonCreate"; + this.buttonCreate.Size = new System.Drawing.Size(94, 29); + this.buttonCreate.TabIndex = 5; + this.buttonCreate.Text = ""; + this.buttonCreate.UseVisualStyleBackColor = true; + // + // FormTractor + // + this.ClientSize = new System.Drawing.Size(882, 453); + this.Controls.Add(this.buttonCreate); + this.Controls.Add(this.buttonRight); + this.Controls.Add(this.buttonDown); + this.Controls.Add(this.buttonLeft); + this.Controls.Add(this.buttonTop); + this.Controls.Add(this.pictureBoxTractor); + this.Name = "FormTractor"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTractor)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + } +} \ No newline at end of file diff --git a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/FormTractor.resx b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/FormTractor.resx new file mode 100644 index 0000000..f298a7b --- /dev/null +++ b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/FormTractor.resx @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Program.cs b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Program.cs index c61cbe8..7556447 100644 --- a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Program.cs +++ b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Program.cs @@ -11,7 +11,7 @@ namespace RPP_FirstLaba_Tractor // To customize application configuration such as set high DPI settings or default font, // see https://aka.ms/applicationconfiguration. ApplicationConfiguration.Initialize(); - Application.Run(new Form1()); + Application.Run(new FormTractor()); } } } \ No newline at end of file diff --git a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Properties/Resources.Designer.cs b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Properties/Resources.Designer.cs new file mode 100644 index 0000000..86bf022 --- /dev/null +++ b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace RPP_FirstLaba_Tractor.Properties { + using System; + + + /// + /// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д. + /// + // Этот класс создан автоматически классом StronglyTypedResourceBuilder + // с помощью такого средства, как ResGen или Visual Studio. + // Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen + // с параметром /str или перестройте свой проект VS. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("RPP_FirstLaba_Tractor.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Перезаписывает свойство CurrentUICulture текущего потока для всех + /// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap arrowDown { + get { + object obj = ResourceManager.GetObject("arrowDown", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap arrowLeft { + get { + object obj = ResourceManager.GetObject("arrowLeft", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap arrowRight { + get { + object obj = ResourceManager.GetObject("arrowRight", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap arrowUp { + get { + object obj = ResourceManager.GetObject("arrowUp", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Form1.resx b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Properties/Resources.resx similarity index 84% rename from RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Form1.resx rename to RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Properties/Resources.resx index 1af7de1..55894d3 100644 --- a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Form1.resx +++ b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Properties/Resources.resx @@ -117,4 +117,17 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\arrowDown.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\arrowUp.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\arrowLeft.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\arrowRight.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor.csproj b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor.csproj index b57c89e..13ee123 100644 --- a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor.csproj +++ b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor.csproj @@ -8,4 +8,19 @@ enable + + + True + True + Resources.resx + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + \ No newline at end of file diff --git a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Tractor.cs b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Tractor.cs new file mode 100644 index 0000000..843b95c --- /dev/null +++ b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/Tractor.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace RPP_FirstLaba_Tractor +{ + public class EntityTractor + { + /// + /// Скорость + /// + public int Speed { get; private set; } + /// + /// Вес + /// + public double Weight { get; private set; } + /// + /// Основной цвет + /// + public Color BodyColor { get; private set; } + + public double Step => (double)Speed * 100 / Weight; + /// + /// Инициализация полей объекта-класса спортивного автомобиля + /// + /// Скорость + /// Вес автомобиля + /// Основной цвет + /// Дополнительный цвет + /// Признак наличия обвеса + /// Признак наличия антикрыла + /// Признак наличия гоночной полосы + public void Init(int speed, double weight, Color bodyColor) + { + Speed = speed; + Weight = weight; + BodyColor = bodyColor; + } + + } +} diff --git a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/arrowDown.png b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/arrowDown.png new file mode 100644 index 0000000..6bc5f35 Binary files /dev/null and b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/arrowDown.png differ diff --git a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/arrowLeft.png b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/arrowLeft.png new file mode 100644 index 0000000..71da8a3 Binary files /dev/null and b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/arrowLeft.png differ diff --git a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/arrowRight.png b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/arrowRight.png new file mode 100644 index 0000000..69bd44f Binary files /dev/null and b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/arrowRight.png differ diff --git a/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/arrowUp.png b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/arrowUp.png new file mode 100644 index 0000000..47c62f6 Binary files /dev/null and b/RPP_FirstLaba_Tractor/RPP_FirstLaba_Tractor/arrowUp.png differ