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;