From fae3a22b32ea4f989df82414c7dcf5c420d4b68c Mon Sep 17 00:00:00 2001 From: "d.agil" Date: Wed, 19 Oct 2022 09:45:01 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D0=B0=D1=8F=202=20=D0=BB=D0=B0=D0=B1=D0=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AirBomber/AirBomber/IDrawningObject.cs | 2 +- AirBomber/AirBomber/SimpleMap.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AirBomber/AirBomber/IDrawningObject.cs b/AirBomber/AirBomber/IDrawningObject.cs index 02ba166..22f6bc9 100644 --- a/AirBomber/AirBomber/IDrawningObject.cs +++ b/AirBomber/AirBomber/IDrawningObject.cs @@ -14,7 +14,7 @@ namespace AirBomber void MoveObject(Direction direction); - void DrawningObject(Graphics g); + void DrawningObject(Graphics g); (float Left, float Right, float Top, float Bottom) GetCurrentPosition(); } diff --git a/AirBomber/AirBomber/SimpleMap.cs b/AirBomber/AirBomber/SimpleMap.cs index fb904d0..347fcdb 100644 --- a/AirBomber/AirBomber/SimpleMap.cs +++ b/AirBomber/AirBomber/SimpleMap.cs @@ -34,7 +34,7 @@ namespace AirBomber _map[i, j] = _freeRoad; } } - while (counter < 250) + while (counter < 50) { int x = _random.Next(0, 100); int y = _random.Next(0, 100);