From 1429feb1a04f2449144161f67b75668056b242e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=B9=D0=B4=D0=B0=D1=80?= Date: Sun, 30 Oct 2022 15:40:58 +0400 Subject: [PATCH] =?UTF-8?q?=D0=AD=D1=82=D0=B0=D0=BF=203.=20=D0=A4=D0=BE?= =?UTF-8?q?=D1=80=D0=BC=D0=B0=20=D0=B8=20=D0=B7=D0=B0=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D0=B0=20bool.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Battleship/Battleship/MapWithSetBattleshipGeneric.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Battleship/Battleship/MapWithSetBattleshipGeneric.cs b/Battleship/Battleship/MapWithSetBattleshipGeneric.cs index a458549..81bdbd8 100644 --- a/Battleship/Battleship/MapWithSetBattleshipGeneric.cs +++ b/Battleship/Battleship/MapWithSetBattleshipGeneric.cs @@ -45,7 +45,7 @@ namespace Battleship Bitmap bmp = new(_pictureWidth, _pictureWidth); Graphics gr = Graphics.FromImage(bmp); DrawBackground(gr); - DrawWarship(gr); + DrawBattleship(gr); return bmp; } @@ -111,7 +111,7 @@ namespace Battleship g.DrawLine(pen, i * _placeSizeWidth + 3, 2, i * _placeSizeWidth + 3, (_pictureHeight / _placeSizeHeight) * _placeSizeHeight); } } - private void DrawWarship(Graphics gr) + private void DrawBattleship(Graphics gr) { int width = _pictureWidth / _placeSizeWidth; int height = _pictureHeight / _placeSizeHeight;