diff --git a/AirBomber/AirBomber/AirBomber.csproj b/AirBomber/AirBomber/AirBomber.csproj
index b57c89e..13ee123 100644
--- a/AirBomber/AirBomber/AirBomber.csproj
+++ b/AirBomber/AirBomber/AirBomber.csproj
@@ -8,4 +8,19 @@
enable
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
\ No newline at end of file
diff --git a/AirBomber/AirBomber/Direction.cs b/AirBomber/AirBomber/Direction.cs
new file mode 100644
index 0000000..b070e71
--- /dev/null
+++ b/AirBomber/AirBomber/Direction.cs
@@ -0,0 +1,12 @@
+using System;
+
+namespace AirBomber
+{
+ internal enum DirectionType
+ {
+ Up = 1,
+ Down = 2,
+ Left = 3,
+ Right = 4
+ }
+}
diff --git a/AirBomber/AirBomber/DrawingAirBomber.cs b/AirBomber/AirBomber/DrawingAirBomber.cs
new file mode 100644
index 0000000..927bb53
--- /dev/null
+++ b/AirBomber/AirBomber/DrawingAirBomber.cs
@@ -0,0 +1,268 @@
+using System;
+
+namespace AirBomber
+{
+ internal class DrawingAirBomber
+ {
+ public EntityAirBomber AirBomber { get; private set; }
+ private float _startPosX;
+ private float _startPosY;
+ private int? _pictureWidth = null;
+ private int? _pictureHeight = null;
+ private readonly int _AirBomberWidth = 100;
+ private readonly int _AirBomberHeight = 90;
+
+
+ public void Init(int speed, float weight, Color bodyColor, Color additionalColor, bool fuelTank,
+ bool bombs, int numEngine)
+ {
+ AirBomber = new EntityAirBomber();
+ AirBomber.Init(speed, weight, bodyColor, additionalColor, fuelTank, bombs, numEngine);
+ }
+
+ public void SetPosition(int x, int y, int width, int height)
+ {
+ //Сделать проверки (все параметры больше 0 и координаты не выходят за границы полей)
+ //x
+ if ((x < 0 || (x + _AirBomberWidth > width)) || (y < 0 || (y + _AirBomberHeight > height)))
+ {
+ _startPosX = 0;
+ _startPosY = 0;
+ _pictureWidth = width;
+ _pictureHeight = height;
+ }
+ else
+ {
+ _startPosX = x;
+ _startPosY = y;
+ _pictureWidth = width;
+ _pictureHeight = height;
+ }
+
+
+ }
+ public void checkMove()
+ {
+ if (_startPosX < 0)
+ {
+ _startPosX = 0;
+ }
+ if (_startPosY < 0)
+ {
+ _startPosY = 0;
+
+ }
+ }
+
+ public void MoveTransport(DirectionType direction)
+ {
+ if (!_pictureWidth.HasValue || !_pictureHeight.HasValue)
+ {
+ return;
+ }
+
+ switch (direction)
+ {
+ case DirectionType.Right:
+ if (_startPosX + _AirBomberWidth + AirBomber.Step < _pictureWidth)
+ {
+ _startPosX += AirBomber.Step;
+ }
+ break;
+
+ case DirectionType.Left:
+ if (_startPosX - _AirBomberWidth - AirBomber.Step < _pictureWidth)
+ {
+ _startPosX -= AirBomber.Step;
+ }
+ break;
+
+ case DirectionType.Up:
+ if (_startPosY - _AirBomberHeight - AirBomber.Step < _pictureHeight)
+ {
+ _startPosY -= AirBomber.Step;
+ }
+ break;
+
+ case DirectionType.Down:
+ if (_startPosY + _AirBomberHeight + AirBomber.Step < _pictureHeight)
+ {
+ _startPosY += AirBomber.Step;
+ }
+ break;
+
+ }
+
+ checkMove();
+
+ }
+
+ public void DrawTransport(Graphics g)
+ {
+ if (_startPosX < 0 || _startPosY < 0
+ || !_pictureHeight.HasValue || !_pictureWidth.HasValue)
+ {
+ return;
+ }
+
+ Pen pen = new(Color.Black);
+
+ //нос бомбардировщика
+ PointF point1 = new PointF(_startPosX + 100, _startPosY + 45);
+ PointF point2 = new PointF(_startPosX + 80, _startPosY + 40);
+ PointF point3 = new PointF(_startPosX + 80, _startPosY + 50);
+ PointF point4 = new PointF(_startPosX + 100, _startPosY + 45);
+
+ PointF[] curvePoints =
+ {
+ point1,
+ point2,
+ point3,
+ point4
+ };
+
+ Brush br = new SolidBrush(Color.Gray);
+
+ g.FillPolygon(br, curvePoints);
+
+ g.DrawPolygon(pen, curvePoints);
+
+
+ //Крылья
+ PointF point5 = new PointF(_startPosX + 50, _startPosY + 40);
+ PointF point6 = new PointF(_startPosX + 50, _startPosY + 0);
+ PointF point7 = new PointF(_startPosX + 55, _startPosY + 0);
+ PointF point8 = new PointF(_startPosX + 65, _startPosY + 40);
+ PointF[] upWing =
+ {
+ point5,
+ point6,
+ point7,
+ point8
+ };
+
+ SolidBrush wingBrush = new SolidBrush(AirBomber?.AdditionalColor ?? Color.Gray);
+ g.FillPolygon(wingBrush, upWing);
+ g.DrawPolygon(pen, upWing);
+
+ PointF point9 = new PointF(_startPosX + 50, _startPosY + 50);
+ PointF point10 = new PointF(_startPosX + 50, _startPosY + 90);
+ PointF point11 = new PointF(_startPosX + 55, _startPosY + 90);
+ PointF point12 = new PointF(_startPosX + 65, _startPosY + 50);
+ PointF[] downWing =
+ {
+ point9,
+ point10,
+ point11,
+ point12
+ };
+
+ g.FillPolygon(wingBrush, downWing);
+ g.DrawPolygon(pen, downWing);
+
+ //Хвост
+
+ PointF point13 = new PointF(_startPosX + 30, _startPosY + 30);
+ PointF point14 = new PointF(_startPosX + 15, _startPosY + 0);
+ PointF point15 = new PointF(_startPosX + 15, _startPosY + 90);
+ PointF point16 = new PointF(_startPosX + 30, _startPosY + 60);
+ PointF[] tail =
+ {
+ point13,
+ point14,
+ point15,
+ point16
+ };
+
+ g.FillPolygon(wingBrush, tail);
+ g.DrawPolygon(pen, tail);
+
+ //основная часть бомбардировщика
+ SolidBrush bodyBrush = new SolidBrush(AirBomber?.BodyColor ?? Color.Gray);
+
+ Rectangle bodyAirBomber = new Rectangle((int)_startPosX + 30, (int)_startPosY + 40, 50, 10);
+
+ g.FillRectangle(bodyBrush, bodyAirBomber);
+ g.DrawRectangle(pen, bodyAirBomber);
+
+
+ //бомбы
+ PointF point17 = new PointF(_startPosX + 40, _startPosY + 40);
+ PointF point18 = new PointF(_startPosX + 35, _startPosY + 35);
+ PointF point19 = new PointF(_startPosX + 40, _startPosY + 30);
+ PointF point20 = new PointF(_startPosX + 50, _startPosY + 40);
+
+ PointF[] bomb1 =
+ {
+ point17,
+ point18,
+ point19,
+ point20
+ };
+ Brush brBomb = new SolidBrush(Color.Gray);
+
+ g.FillPolygon(brBomb, bomb1);
+ g.DrawPolygon(pen, bomb1);
+
+ PointF point21 = new PointF(_startPosX + 40, _startPosY + 50);
+ PointF point22 = new PointF(_startPosX + 35, _startPosY + 55);
+ PointF point23 = new PointF(_startPosX + 40, _startPosY + 60);
+ PointF point24 = new PointF(_startPosX + 50, _startPosY + 50);
+
+ PointF[] bomb2 =
+ {
+ point21,
+ point22,
+ point23,
+ point24
+ };
+
+
+ g.FillPolygon(brBomb, bomb2);
+ g.DrawPolygon(pen, bomb2);
+
+ //Двигатели (2,4,6)
+ int yPos = 45;
+ int yNeg = 30;
+ for(int i = 0; i < (AirBomber?.NumEngine ?? 1); i++)
+ {
+ Rectangle diselEngine = new Rectangle((int)_startPosX, (int)_startPosY + yPos, 15, 15);
+ g.FillRectangle(bodyBrush, diselEngine);
+ g.DrawRectangle(pen, diselEngine);
+ yPos += 15;
+ diselEngine = new Rectangle((int)_startPosX, (int)_startPosY + yNeg, 15, 15);
+ g.FillRectangle(bodyBrush, diselEngine);
+ g.DrawRectangle(pen, diselEngine);
+ yNeg -= 15;
+ }
+
+ //топливные баки
+ Rectangle fuelTank = new Rectangle((int)_startPosX + 50, (int)_startPosY + 43, 20, 5);
+ g.FillRectangle(wingBrush, fuelTank);
+ g.DrawRectangle(pen, fuelTank);
+
+
+ }
+
+ public void ChangeBorders(int width, int height)
+ {
+ _pictureWidth = width;
+ _pictureHeight = height;
+ if (_pictureWidth <= _AirBomberWidth || _pictureHeight <= _AirBomberHeight)
+ {
+ _pictureWidth = null;
+ _pictureHeight = null;
+ return;
+ }
+ if (_startPosX + _AirBomberWidth > _pictureWidth)
+ {
+ _startPosX = _pictureWidth.Value - _AirBomberWidth;
+ }
+ if (_startPosY + _AirBomberHeight > _pictureHeight)
+ {
+ _startPosY = _pictureHeight.Value - _AirBomberHeight;
+ }
+ }
+
+ }
+}
diff --git a/AirBomber/AirBomber/EntityAirBomber.cs b/AirBomber/AirBomber/EntityAirBomber.cs
new file mode 100644
index 0000000..89a1918
--- /dev/null
+++ b/AirBomber/AirBomber/EntityAirBomber.cs
@@ -0,0 +1,24 @@
+using System;
+
+namespace AirBomber
+{
+ internal class EntityAirBomber
+ {
+ public int Speed { get; private set; }
+ public int NumEngine { get; private set; }
+ public float Weight { get; private set; }
+ public Color BodyColor { get; private set; }
+ public Color AdditionalColor { get; private set; }
+ public float Step => Speed * 100 / Weight;
+ public void Init(int speed, float weight, Color bodyColor, Color additionalColor, bool fuelTank,
+ bool bombs, int numEngine)
+ {
+ Random rnd = new();
+ NumEngine = numEngine <= 0 ? rnd.Next(1, 4): numEngine;
+ Speed = speed <= 0 ? rnd.Next(50, 150) : speed;
+ Weight = weight <= 0 ? rnd.Next(40, 70) : weight;
+ BodyColor = bodyColor;
+ AdditionalColor = additionalColor;
+ }
+ }
+}
diff --git a/AirBomber/AirBomber/Form1.Designer.cs b/AirBomber/AirBomber/Form1.Designer.cs
deleted file mode 100644
index 185eea6..0000000
--- a/AirBomber/AirBomber/Form1.Designer.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-namespace AirBomber
-{
- 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/AirBomber/AirBomber/Form1.cs b/AirBomber/AirBomber/Form1.cs
deleted file mode 100644
index 0ca8021..0000000
--- a/AirBomber/AirBomber/Form1.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace AirBomber
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
\ No newline at end of file
diff --git a/AirBomber/AirBomber/FormAirBomber.Designer.cs b/AirBomber/AirBomber/FormAirBomber.Designer.cs
new file mode 100644
index 0000000..a2aea4b
--- /dev/null
+++ b/AirBomber/AirBomber/FormAirBomber.Designer.cs
@@ -0,0 +1,136 @@
+namespace AirBomber
+{
+ partial class FormAirBomber
+ {
+ ///
+ /// 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()
+ {
+ pictureBoxAirBomber = new PictureBox();
+ buttonCreate = new Button();
+ buttonUp = new Button();
+ buttonDown = new Button();
+ buttonLeft = new Button();
+ buttonRight = new Button();
+ ((System.ComponentModel.ISupportInitialize)pictureBoxAirBomber).BeginInit();
+ SuspendLayout();
+ //
+ // pictureBoxAirBomber
+ //
+ pictureBoxAirBomber.Dock = DockStyle.Fill;
+ pictureBoxAirBomber.Location = new Point(0, 0);
+ pictureBoxAirBomber.Name = "pictureBoxAirBomber";
+ pictureBoxAirBomber.Size = new Size(884, 461);
+ pictureBoxAirBomber.SizeMode = PictureBoxSizeMode.AutoSize;
+ pictureBoxAirBomber.TabIndex = 0;
+ pictureBoxAirBomber.TabStop = false;
+ //
+ // buttonCreate
+ //
+ buttonCreate.Location = new Point(12, 394);
+ buttonCreate.Name = "buttonCreate";
+ buttonCreate.Size = new Size(156, 29);
+ buttonCreate.TabIndex = 1;
+ buttonCreate.Text = "Создать";
+ buttonCreate.UseVisualStyleBackColor = true;
+ buttonCreate.Click += ButtonCreate_Click;
+ //
+ // buttonUp
+ //
+ buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonUp.BackgroundImage = Properties.Resources.arrowUp;
+ buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
+ buttonUp.Location = new Point(786, 357);
+ buttonUp.Name = "buttonUp";
+ buttonUp.Size = new Size(30, 30);
+ buttonUp.TabIndex = 2;
+ buttonUp.UseVisualStyleBackColor = true;
+ buttonUp.Click += ButtonMove_Click;
+ //
+ // buttonDown
+ //
+ buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonDown.BackgroundImage = Properties.Resources.arrowDown;
+ buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
+ buttonDown.Location = new Point(786, 393);
+ buttonDown.Name = "buttonDown";
+ buttonDown.Size = new Size(30, 30);
+ buttonDown.TabIndex = 3;
+ buttonDown.UseVisualStyleBackColor = true;
+ buttonDown.Click += ButtonMove_Click;
+ //
+ // buttonLeft
+ //
+ buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonLeft.BackgroundImage = Properties.Resources.arrowLeft;
+ buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
+ buttonLeft.Location = new Point(750, 393);
+ buttonLeft.Name = "buttonLeft";
+ buttonLeft.Size = new Size(30, 30);
+ buttonLeft.TabIndex = 4;
+ buttonLeft.UseVisualStyleBackColor = true;
+ buttonLeft.Click += ButtonMove_Click;
+ //
+ // buttonRight
+ //
+ buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonRight.BackgroundImage = Properties.Resources.arrowRight;
+ buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
+ buttonRight.Location = new Point(822, 393);
+ buttonRight.Name = "buttonRight";
+ buttonRight.Size = new Size(30, 30);
+ buttonRight.TabIndex = 5;
+ buttonRight.UseVisualStyleBackColor = true;
+ buttonRight.Click += ButtonMove_Click;
+ //
+ // FormAirBomber
+ //
+ AutoScaleDimensions = new SizeF(7F, 15F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(884, 461);
+ Controls.Add(buttonRight);
+ Controls.Add(buttonLeft);
+ Controls.Add(buttonDown);
+ Controls.Add(buttonUp);
+ Controls.Add(buttonCreate);
+ Controls.Add(pictureBoxAirBomber);
+ Name = "FormAirBomber";
+ StartPosition = FormStartPosition.CenterScreen;
+ Text = "FormAirBomber";
+ ((System.ComponentModel.ISupportInitialize)pictureBoxAirBomber).EndInit();
+ ResumeLayout(false);
+ PerformLayout();
+ }
+
+ #endregion
+
+ private PictureBox pictureBoxAirBomber;
+ private Button buttonCreate;
+ private Button buttonUp;
+ private Button buttonDown;
+ private Button buttonLeft;
+ private Button buttonRight;
+ }
+}
\ No newline at end of file
diff --git a/AirBomber/AirBomber/FormAirBomber.cs b/AirBomber/AirBomber/FormAirBomber.cs
new file mode 100644
index 0000000..6831a15
--- /dev/null
+++ b/AirBomber/AirBomber/FormAirBomber.cs
@@ -0,0 +1,57 @@
+namespace AirBomber
+{
+ public partial class FormAirBomber : Form
+ {
+ private DrawingAirBomber _AirBomber;
+ public FormAirBomber()
+ {
+ InitializeComponent();
+ }
+
+ private void Draw()
+ {
+ Bitmap bmp = new(pictureBoxAirBomber.Width, pictureBoxAirBomber.Height);
+ Graphics gr = Graphics.FromImage(bmp);
+ _AirBomber?.DrawTransport(gr);
+ pictureBoxAirBomber.Image = bmp;
+ }
+
+ private void ButtonCreate_Click(object sender, EventArgs e)
+ {
+ Random rnd = new();
+ _AirBomber = new DrawingAirBomber();
+ _AirBomber.Init(rnd.Next(100, 300), rnd.Next(1000, 2000),
+ Color.FromArgb(rnd.Next(0, 255), rnd.Next(0, 255), rnd.Next(0, 255)), Color.FromArgb(rnd.Next(0, 255), rnd.Next(0, 255), rnd.Next(0, 255)), true, true, rnd.Next(1,4));
+ _AirBomber.SetPosition(rnd.Next(10, 100), rnd.Next(10, 100), pictureBoxAirBomber.Width, pictureBoxAirBomber.Height);
+ Draw();
+ }
+
+ private void ButtonMove_Click(object sender, EventArgs e)
+ {
+ //
+ string name = ((Button)sender)?.Name ?? string.Empty;
+ switch (name)
+ {
+ case "buttonUp":
+ _AirBomber?.MoveTransport(DirectionType.Up);
+ break;
+ case "buttonDown":
+ _AirBomber?.MoveTransport(DirectionType.Down);
+ break;
+ case "buttonLeft":
+ _AirBomber?.MoveTransport(DirectionType.Left);
+ break;
+ case "buttonRight":
+ _AirBomber?.MoveTransport(DirectionType.Right);
+ break;
+ }
+ Draw();
+ }
+
+ private void PictureBoxAirBomber_Resize(object sender, EventArgs e)
+ {
+ _AirBomber?.ChangeBorders(pictureBoxAirBomber.Width, pictureBoxAirBomber.Height);
+ Draw();
+ }
+ }
+}
\ No newline at end of file
diff --git a/AirBomber/AirBomber/Form1.resx b/AirBomber/AirBomber/FormAirBomber.resx
similarity index 93%
rename from AirBomber/AirBomber/Form1.resx
rename to AirBomber/AirBomber/FormAirBomber.resx
index 1af7de1..a395bff 100644
--- a/AirBomber/AirBomber/Form1.resx
+++ b/AirBomber/AirBomber/FormAirBomber.resx
@@ -1,24 +1,24 @@
-
diff --git a/AirBomber/AirBomber/Program.cs b/AirBomber/AirBomber/Program.cs
index 34d9512..76b85fe 100644
--- a/AirBomber/AirBomber/Program.cs
+++ b/AirBomber/AirBomber/Program.cs
@@ -11,7 +11,7 @@ namespace AirBomber
// 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 FormAirBomber());
}
}
}
\ No newline at end of file
diff --git a/AirBomber/AirBomber/Properties/Resources.Designer.cs b/AirBomber/AirBomber/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..54a0d06
--- /dev/null
+++ b/AirBomber/AirBomber/Properties/Resources.Designer.cs
@@ -0,0 +1,103 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace AirBomber.Properties {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [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() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [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("AirBomber.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap arrowDown {
+ get {
+ object obj = ResourceManager.GetObject("arrowDown", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap arrowLeft {
+ get {
+ object obj = ResourceManager.GetObject("arrowLeft", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap arrowRight {
+ get {
+ object obj = ResourceManager.GetObject("arrowRight", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap arrowUp {
+ get {
+ object obj = ResourceManager.GetObject("arrowUp", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
diff --git a/AirBomber/AirBomber/Properties/Resources.resx b/AirBomber/AirBomber/Properties/Resources.resx
new file mode 100644
index 0000000..293419e
--- /dev/null
+++ b/AirBomber/AirBomber/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\arrowDown.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\arrowLeft.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\arrowRight.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\arrowUp.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
\ No newline at end of file
diff --git a/AirBomber/AirBomber/Resources/arrowDown.jpg b/AirBomber/AirBomber/Resources/arrowDown.jpg
new file mode 100644
index 0000000..f21002e
Binary files /dev/null and b/AirBomber/AirBomber/Resources/arrowDown.jpg differ
diff --git a/AirBomber/AirBomber/Resources/arrowLeft.jpg b/AirBomber/AirBomber/Resources/arrowLeft.jpg
new file mode 100644
index 0000000..61b8dae
Binary files /dev/null and b/AirBomber/AirBomber/Resources/arrowLeft.jpg differ
diff --git a/AirBomber/AirBomber/Resources/arrowRight.jpg b/AirBomber/AirBomber/Resources/arrowRight.jpg
new file mode 100644
index 0000000..b440197
Binary files /dev/null and b/AirBomber/AirBomber/Resources/arrowRight.jpg differ
diff --git a/AirBomber/AirBomber/Resources/arrowUp.jpg b/AirBomber/AirBomber/Resources/arrowUp.jpg
new file mode 100644
index 0000000..e630cea
Binary files /dev/null and b/AirBomber/AirBomber/Resources/arrowUp.jpg differ