From 3aa10a0e4b3f8e0629a694663b7f4d683c1c29bc Mon Sep 17 00:00:00 2001 From: Programmist73 Date: Wed, 5 Oct 2022 20:54:22 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BD=D0=B0=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D1=8B=D0=B5=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=B2=20=D0=BD=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=D1=85.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Airbus/Airbus/{SecondSimpleMap.cs => DesertStormMap.cs} | 2 +- Airbus/Airbus/FormMap.cs | 4 ++-- Airbus/Airbus/{ThirdSimpleMap.cs => StarWarsMap.cs} | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename Airbus/Airbus/{SecondSimpleMap.cs => DesertStormMap.cs} (96%) rename Airbus/Airbus/{ThirdSimpleMap.cs => StarWarsMap.cs} (97%) diff --git a/Airbus/Airbus/SecondSimpleMap.cs b/Airbus/Airbus/DesertStormMap.cs similarity index 96% rename from Airbus/Airbus/SecondSimpleMap.cs rename to Airbus/Airbus/DesertStormMap.cs index 87968ba..2f65038 100644 --- a/Airbus/Airbus/SecondSimpleMap.cs +++ b/Airbus/Airbus/DesertStormMap.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; namespace Airbus { - internal class SecondSimpleMap : AbstractMap + internal class DesertStormMap : AbstractMap { //цвет закрытого участка Brush barriedColor = new SolidBrush(Color.DarkRed); diff --git a/Airbus/Airbus/FormMap.cs b/Airbus/Airbus/FormMap.cs index 3575d79..23fadff 100644 --- a/Airbus/Airbus/FormMap.cs +++ b/Airbus/Airbus/FormMap.cs @@ -84,10 +84,10 @@ namespace Airbus _abstractMap = new SimpleMap(); break; case "Буря в пустыне": - _abstractMap = new SecondSimpleMap(); + _abstractMap = new DesertStormMap(); break; case "Звёздные войны": - _abstractMap = new ThirdSimpleMap(); + _abstractMap = new StarWarsMap(); break; } } diff --git a/Airbus/Airbus/ThirdSimpleMap.cs b/Airbus/Airbus/StarWarsMap.cs similarity index 97% rename from Airbus/Airbus/ThirdSimpleMap.cs rename to Airbus/Airbus/StarWarsMap.cs index 0e24b10..c6c4761 100644 --- a/Airbus/Airbus/ThirdSimpleMap.cs +++ b/Airbus/Airbus/StarWarsMap.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; namespace Airbus { - internal class ThirdSimpleMap : AbstractMap + internal class StarWarsMap : AbstractMap { Random rnd = new Random();