Eliseev E.E. LabWork02 #3
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Airbus
|
||||
{
|
||||
internal class SecondSimpleMap : AbstractMap
|
||||
internal class DesertStormMap : AbstractMap
|
||||
{
|
||||
//цвет закрытого участка
|
||||
Brush barriedColor = new SolidBrush(Color.DarkRed);
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Airbus
|
||||
{
|
||||
internal class ThirdSimpleMap : AbstractMap
|
||||
internal class StarWarsMap : AbstractMap
|
||||
{
|
||||
|
||||
Random rnd = new Random();
|
Loading…
Reference in New Issue
Block a user