diff --git a/ProjectBoat/ProjectBoat/DirectionType.cs b/ProjectBoat/ProjectBoat/DirectionType.cs new file mode 100644 index 0000000..b37c0cc --- /dev/null +++ b/ProjectBoat/ProjectBoat/DirectionType.cs @@ -0,0 +1,27 @@ +namespace ProjectBoat; + +/// +/// Направление перемещения +/// +public enum DirectionType +{ + /// + /// Вверх + /// + Up = 1, + + /// + /// Вниз + /// + Down = 2, + + /// + /// Влево + /// + Left = 3, + + /// + /// Вправо + /// + Right = 4, +} diff --git a/ProjectBoat/ProjectBoat/DrawningBoat.cs b/ProjectBoat/ProjectBoat/DrawningBoat.cs new file mode 100644 index 0000000..31f7dd6 --- /dev/null +++ b/ProjectBoat/ProjectBoat/DrawningBoat.cs @@ -0,0 +1,203 @@ +namespace ProjectBoat; +/// +/// Класс, отвечающий за прорисовку и перемещение объекта-сущности +/// +public class DrawningBoat +{ + /// + /// Класс-сущность + /// + public EntityBoat? EntityBoat { get; private set; } + + /// + /// Ширина окна + /// + public int? _pictireWight; + + /// + /// Высота окна + /// + public int? _pictireHeight; + + /// + /// Левая координата прорисовки катера + /// + public int? _startPosX; + + /// + /// Верхняя координата прорисовки катера + /// + public int? _startPosY; + + /// + /// Ширина прорисовки катера + /// + public readonly int _drawningBoatWight = 120; + + /// + /// Высота прорисовки катера + /// + public readonly int _drawningBoatHeight = 40; + + /// + /// Инициализация свойств + /// + /// Скорость + /// Вес + /// Основной цвет + /// Дополнительный цвет + /// Признак наличия спасательного круга + /// Признак наличия фонаря + public void Init(int speed, double weight, Color bodyColor, Color additionalColor, bool lifebuoy, bool flashlight) + { + EntityBoat = new EntityBoat(); + EntityBoat.Init(speed, weight, bodyColor, additionalColor, lifebuoy, flashlight); + _pictireWight = null; + _pictireHeight = null; + _startPosX = null; + _startPosY = null; + } + + /// + /// Установка границ + /// + /// Ширина поля + /// Высота поля + /// true - границы заданы, false - проверка не пройдена, нельзя разместить объект в этих размерах + public bool SetPictureSize(int width, int height) + { + // TODO проверка, что объект "влезает" в размеры поля + // если влезает, сохраняем границы и корректируем позицию объекта, если она была уже установлена + _pictireWight = width; + _pictireHeight = height; + return true; + } + + /// + /// Установка позиций + /// + /// Координата X + /// Координата Y + public void SetPosition(int x, int y) + { + if (!_pictireHeight.HasValue || !_pictireWight.HasValue) + { + return; + } + + // TODO если при установке объекта в эти координаты, он будет "выходить" за границы формы + // то надо изменить координаты, чтобы он омтавался в этих границах + _startPosX = x; + _startPosY = y; + } + + /// + /// Изменение направления перемещения + /// + /// Направление + /// true - перемещение выполнено, false - перемещение невозможно + public bool MoveTransport(DirectionType direction) + { + if (EntityBoat == null || !_startPosX.HasValue || !_startPosY.HasValue) + { + return false; + } + switch (direction) + { + //влево + case DirectionType.Left: + if (_startPosX.Value - EntityBoat.Step > 0) + { + _startPosX -= (int)EntityBoat.Step; + } + return true; + //вверх + case DirectionType.Up: + if (_startPosY.Value - EntityBoat.Step > 0) + { + _startPosY -= (int)EntityBoat.Step; + } + return true; + + + + // вправо + case DirectionType.Right: + if (_startPosX.Value + _drawningBoatWight + EntityBoat.Step < _pictireWight) + { + _startPosX += (int)EntityBoat.Step; + } + return true; + //вниз + case DirectionType.Down: + if (_startPosY.Value + _drawningBoatHeight + EntityBoat.Step < _pictireHeight) + { + _startPosY += (int)EntityBoat.Step; + } + return true; + default: + return false; + } + } + + /// + /// Прорисовка объекта + /// + /// + public void DrawTransport(Graphics g) + { + if (EntityBoat == null || !_startPosX.HasValue || !_startPosY.HasValue) + { + return; + } + + Pen pen = new(Color.Black); + Brush additionalBrush = new SolidBrush(EntityBoat.AdditionalColor); + + // фонари + if (EntityBoat.Flashlight) + { + g.DrawEllipse(pen, _startPosX.Value + 10, _startPosY.Value + 2, 10, 6); + g.DrawEllipse(pen, _startPosX.Value + 10, _startPosY.Value + 32, 10, 6); + + g.FillEllipse(additionalBrush, _startPosX.Value + 10, _startPosY.Value + 2, 10, 6); + g.FillEllipse(additionalBrush, _startPosX.Value + 10, _startPosY.Value + 32, 10, 6); + } + + // границы катера + g.DrawLine(pen, _startPosX.Value + 10, _startPosY.Value, _startPosX.Value + 100, _startPosY.Value); + g.DrawLine(pen, _startPosX.Value + 100, _startPosY.Value, _startPosX.Value + 120, _startPosY.Value + 20); + g.DrawLine(pen, _startPosX.Value + 120, _startPosY.Value + 20, _startPosX.Value + 100, _startPosY.Value + 40); + g.DrawLine(pen, _startPosX.Value + 100, _startPosY.Value + 40, _startPosX.Value + 10, _startPosY.Value + 40); + + // задняя часть + g.DrawLine(pen, _startPosX.Value + 10, _startPosY.Value + 40, _startPosX.Value + 10, _startPosY.Value + 30); + g.DrawLine(pen, _startPosX.Value + 10, _startPosY.Value + 30, _startPosX.Value, _startPosY.Value + 30); + g.DrawLine(pen, _startPosX.Value, _startPosY.Value + 30, _startPosX.Value + 10, _startPosY.Value + 40); + + g.DrawLine(pen, _startPosX.Value + 10, _startPosY.Value, _startPosX.Value + 10, _startPosY.Value + 10); + g.DrawLine(pen, _startPosX.Value + 10, _startPosY.Value + 10, _startPosX.Value, _startPosY.Value + 10); + g.DrawLine(pen, _startPosX.Value, _startPosY.Value + 10, _startPosX.Value + 10, _startPosY.Value); + + Brush brRed = new SolidBrush(Color.Red); + g.FillRectangle(brRed, _startPosX.Value + 5, _startPosY.Value + 10, 15, 20); + + // кузов + Brush br = new SolidBrush(EntityBoat.BodyColor); + g.FillRectangle(br, _startPosX.Value + 20, _startPosY.Value, 80, 40); + + // окно + Brush brBlue = new SolidBrush(Color.Blue); + g.FillEllipse(brBlue, _startPosX.Value + 30, _startPosY.Value + 10, 40, 20); + + // спасательный круг + if (EntityBoat.Lifebuoy) + { + g.DrawEllipse(pen, _startPosX.Value + 80, _startPosY.Value + 15, 15, 15); + g.DrawEllipse(pen, _startPosX.Value + 85, _startPosY.Value + 20, 5, 5); + + g.FillEllipse(additionalBrush, _startPosX.Value + 80, _startPosY.Value + 15, 15, 15); + g.FillEllipse(br, _startPosX.Value + 85, _startPosY.Value + 20, 5, 5); + } + } +} diff --git a/ProjectBoat/ProjectBoat/EntityBoat.cs b/ProjectBoat/ProjectBoat/EntityBoat.cs new file mode 100644 index 0000000..b564515 --- /dev/null +++ b/ProjectBoat/ProjectBoat/EntityBoat.cs @@ -0,0 +1,60 @@ +namespace ProjectBoat; +/// +/// Класс-сущность "Катер" +/// +public class EntityBoat +{ + /// + /// Скорость + /// + public int Speed { get; private set; } + + /// + /// Вес + /// + public double Weight { get; private set; } + + /// + /// Основной цвет + /// + public Color BodyColor { get; private set; } + + /// + /// Дополнительный цвет (для опциональных элементов) + /// + public Color AdditionalColor { get; private set; } + + /// + /// Признак (опция) наличия спасательного круга + /// + public bool Lifebuoy { get; private set; } + + /// + /// Признак (опция) наличия фонаря + /// + public bool Flashlight { get; private set; } + + /// + /// Шаг перемещения катера + /// + public double Step => Speed * 100 / Weight; + + /// + /// Инициализация полей объекта-класса катера + /// + /// Скорость + /// Вес катера + /// Основной цвет + /// Дополнительный цвет + /// Признак наличия спасательного круга + /// Признак наличия фонарей + public void Init(int speed, double weight, Color bodyColor, Color additionalColor, bool lifebuoy, bool flashlight) + { + Speed = speed; + Weight = weight; + BodyColor = bodyColor; + AdditionalColor = additionalColor; + Lifebuoy = lifebuoy; + Flashlight = flashlight; + } +} \ No newline at end of file diff --git a/ProjectBoat/ProjectBoat/Form1.Designer.cs b/ProjectBoat/ProjectBoat/Form1.Designer.cs deleted file mode 100644 index 4ab4912..0000000 --- a/ProjectBoat/ProjectBoat/Form1.Designer.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace ProjectBoat -{ - 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 - } -} diff --git a/ProjectBoat/ProjectBoat/Form1.cs b/ProjectBoat/ProjectBoat/Form1.cs deleted file mode 100644 index 8e8c4e4..0000000 --- a/ProjectBoat/ProjectBoat/Form1.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace ProjectBoat -{ - public partial class Form1 : Form - { - public Form1() - { - InitializeComponent(); - } - } -} diff --git a/ProjectBoat/ProjectBoat/FormBoat.Designer.cs b/ProjectBoat/ProjectBoat/FormBoat.Designer.cs new file mode 100644 index 0000000..c01d471 --- /dev/null +++ b/ProjectBoat/ProjectBoat/FormBoat.Designer.cs @@ -0,0 +1,134 @@ +namespace ProjectBoat +{ + partial class FormBoat + { + /// + /// 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() + { + pictureBoxBoat = new PictureBox(); + buttonCreateBoat = new Button(); + buttonLeft = new Button(); + buttonRight = new Button(); + buttonDown = new Button(); + buttonUp = new Button(); + ((System.ComponentModel.ISupportInitialize)pictureBoxBoat).BeginInit(); + SuspendLayout(); + // + // pictureBoxBoat + // + pictureBoxBoat.Dock = DockStyle.Fill; + pictureBoxBoat.Location = new Point(0, 0); + pictureBoxBoat.Name = "pictureBoxBoat"; + pictureBoxBoat.Size = new Size(798, 419); + pictureBoxBoat.TabIndex = 0; + pictureBoxBoat.TabStop = false; + // + // buttonCreateBoat + // + buttonCreateBoat.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; + buttonCreateBoat.Location = new Point(12, 378); + buttonCreateBoat.Name = "buttonCreateBoat"; + buttonCreateBoat.Size = new Size(94, 29); + buttonCreateBoat.TabIndex = 1; + buttonCreateBoat.Text = "Создать"; + buttonCreateBoat.UseVisualStyleBackColor = true; + buttonCreateBoat.Click += ButtonCreateBoat_Click; + // + // buttonLeft + // + buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonLeft.BackgroundImage = Properties.Resources.влево; + buttonLeft.BackgroundImageLayout = ImageLayout.Stretch; + buttonLeft.Location = new Point(668, 372); + buttonLeft.Name = "buttonLeft"; + buttonLeft.Size = new Size(35, 35); + buttonLeft.TabIndex = 2; + buttonLeft.UseVisualStyleBackColor = true; + buttonLeft.Click += ButtonMove_Click; + // + // buttonRight + // + buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonRight.BackgroundImage = Properties.Resources.вправо; + buttonRight.BackgroundImageLayout = ImageLayout.Stretch; + buttonRight.Location = new Point(750, 372); + buttonRight.Name = "buttonRight"; + buttonRight.Size = new Size(35, 35); + buttonRight.TabIndex = 3; + buttonRight.UseVisualStyleBackColor = true; + buttonRight.Click += ButtonMove_Click; + // + // buttonDown + // + buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonDown.BackgroundImage = Properties.Resources.вниз; + buttonDown.BackgroundImageLayout = ImageLayout.Stretch; + buttonDown.Location = new Point(709, 372); + buttonDown.Name = "buttonDown"; + buttonDown.Size = new Size(35, 35); + buttonDown.TabIndex = 4; + buttonDown.UseVisualStyleBackColor = true; + buttonDown.Click += ButtonMove_Click; + // + // buttonUp + // + buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonUp.BackgroundImage = Properties.Resources.вверх; + buttonUp.BackgroundImageLayout = ImageLayout.Stretch; + buttonUp.Location = new Point(709, 328); + buttonUp.Name = "buttonUp"; + buttonUp.Size = new Size(35, 35); + buttonUp.TabIndex = 5; + buttonUp.UseVisualStyleBackColor = true; + buttonUp.Click += ButtonMove_Click; + // + // FormBoat + // + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(798, 419); + Controls.Add(buttonUp); + Controls.Add(buttonDown); + Controls.Add(buttonRight); + Controls.Add(buttonLeft); + Controls.Add(buttonCreateBoat); + Controls.Add(pictureBoxBoat); + Name = "FormBoat"; + Text = "Катер"; + ((System.ComponentModel.ISupportInitialize)pictureBoxBoat).EndInit(); + ResumeLayout(false); + } + + #endregion + + private PictureBox pictureBoxBoat; + private Button buttonCreateBoat; + private Button buttonLeft; + private Button buttonRight; + private Button buttonDown; + private Button buttonUp; + } +} \ No newline at end of file diff --git a/ProjectBoat/ProjectBoat/FormBoat.cs b/ProjectBoat/ProjectBoat/FormBoat.cs new file mode 100644 index 0000000..7e97c3d --- /dev/null +++ b/ProjectBoat/ProjectBoat/FormBoat.cs @@ -0,0 +1,89 @@ +namespace ProjectBoat; + +/// +/// Форма работы с объектом "Катер" +/// +public partial class FormBoat : Form +{ + /// + /// Поле-объект для прорисовки объекта + /// + private DrawningBoat? _drawningBoat; + + /// + /// Конструктор формы + /// + public FormBoat() + { + InitializeComponent(); + } + + /// + /// Метод прорисовки машины + /// + private void Draw() + { + if (_drawningBoat == null) + { + return; + } + + Bitmap bmp = new(pictureBoxBoat.Width, pictureBoxBoat.Height); + Graphics gr = Graphics.FromImage(bmp); + _drawningBoat.DrawTransport(gr); + pictureBoxBoat.Image = bmp; + } + + /// + /// Обработка нажатия кнопки "Создать" + /// + /// + /// + private void ButtonCreateBoat_Click(object sender, EventArgs e) + { + Random random = new(); + _drawningBoat = new DrawningBoat(); + _drawningBoat.Init(random.Next(100, 300), random.Next(1000, 3000), + Color.FromArgb(random.Next(0, 256), random.Next(0, 256), random.Next(0, 256)), + Color.FromArgb(random.Next(0, 256), random.Next(0, 256), random.Next(0, 256)), + Convert.ToBoolean(random.Next(0, 2)), Convert.ToBoolean(random.Next(0, 2))); + _drawningBoat.SetPictureSize(pictureBoxBoat.Width, pictureBoxBoat.Height); + _drawningBoat.SetPosition(random.Next(10, 100), random.Next(10, 100)); + Draw(); + } + + /// + /// Перемещения объекта по форме (нажатие кнопок навигации) + /// + /// + /// + private void ButtonMove_Click(object sender, EventArgs e) + { + if (_drawningBoat == null) + { + return; + } + + string name = ((Button)sender)?.Name ?? string.Empty; + bool result = false; + switch (name) + { + case "buttonUp": + result = _drawningBoat.MoveTransport(DirectionType.Up); + break; + case "buttonDown": + result = _drawningBoat.MoveTransport(DirectionType.Down); + break; + case "buttonLeft": + result = _drawningBoat.MoveTransport(DirectionType.Left); + break; + case "buttonRight": + result = _drawningBoat.MoveTransport(DirectionType.Right); + break; + } + if (result) + { + Draw(); + } + } +} diff --git a/ProjectBoat/ProjectBoat/Form1.resx b/ProjectBoat/ProjectBoat/FormBoat.resx similarity index 93% rename from ProjectBoat/ProjectBoat/Form1.resx rename to ProjectBoat/ProjectBoat/FormBoat.resx index 1af7de1..af32865 100644 --- a/ProjectBoat/ProjectBoat/Form1.resx +++ b/ProjectBoat/ProjectBoat/FormBoat.resx @@ -1,17 +1,17 @@  - diff --git a/ProjectBoat/ProjectBoat/Program.cs b/ProjectBoat/ProjectBoat/Program.cs index ea12be9..3195745 100644 --- a/ProjectBoat/ProjectBoat/Program.cs +++ b/ProjectBoat/ProjectBoat/Program.cs @@ -11,7 +11,7 @@ namespace ProjectBoat // 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 FormBoat()); } } } \ No newline at end of file diff --git a/ProjectBoat/ProjectBoat/ProjectBoat.csproj b/ProjectBoat/ProjectBoat/ProjectBoat.csproj index 663fdb8..af03d74 100644 --- a/ProjectBoat/ProjectBoat/ProjectBoat.csproj +++ b/ProjectBoat/ProjectBoat/ProjectBoat.csproj @@ -8,4 +8,19 @@ enable + + + True + True + Resources.resx + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + \ No newline at end of file diff --git a/ProjectBoat/ProjectBoat/Properties/Resources.Designer.cs b/ProjectBoat/ProjectBoat/Properties/Resources.Designer.cs new file mode 100644 index 0000000..01cb62f --- /dev/null +++ b/ProjectBoat/ProjectBoat/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace ProjectBoat.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("ProjectBoat.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 вверх { + get { + object obj = ResourceManager.GetObject("вверх", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap влево { + get { + object obj = ResourceManager.GetObject("влево", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap вниз { + get { + object obj = ResourceManager.GetObject("вниз", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap вправо { + get { + object obj = ResourceManager.GetObject("вправо", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/ProjectBoat/ProjectBoat/Properties/Resources.resx b/ProjectBoat/ProjectBoat/Properties/Resources.resx new file mode 100644 index 0000000..22f6027 --- /dev/null +++ b/ProjectBoat/ProjectBoat/Properties/Resources.resx @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + ..\Resources\вверх.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\влево.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\вниз.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\вправо.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/ProjectBoat/ProjectBoat/Resources/вверх.jpg b/ProjectBoat/ProjectBoat/Resources/вверх.jpg new file mode 100644 index 0000000..4e01b8f Binary files /dev/null and b/ProjectBoat/ProjectBoat/Resources/вверх.jpg differ diff --git a/ProjectBoat/ProjectBoat/Resources/влево.jpg b/ProjectBoat/ProjectBoat/Resources/влево.jpg new file mode 100644 index 0000000..a0de3d8 Binary files /dev/null and b/ProjectBoat/ProjectBoat/Resources/влево.jpg differ diff --git a/ProjectBoat/ProjectBoat/Resources/вниз.jpg b/ProjectBoat/ProjectBoat/Resources/вниз.jpg new file mode 100644 index 0000000..b67a3a7 Binary files /dev/null and b/ProjectBoat/ProjectBoat/Resources/вниз.jpg differ diff --git a/ProjectBoat/ProjectBoat/Resources/вправо.jpg b/ProjectBoat/ProjectBoat/Resources/вправо.jpg new file mode 100644 index 0000000..b9763b7 Binary files /dev/null and b/ProjectBoat/ProjectBoat/Resources/вправо.jpg differ