Изменил(а) на 'MapWithSetBattleshipsGeneric.java'

This commit is contained in:
Zhelovanov_Dmitrii 2022-12-22 22:16:36 +04:00
parent 8573ebc9cd
commit 9cce5599bf

View File

@ -90,7 +90,6 @@ public class MapWithSetBattleshipsGeneric <T extends IDrawningObject, U extends
private void DrawBackground(Graphics2D g) private void DrawBackground(Graphics2D g)
{ {
g.setColor(Color.blue); g.setColor(Color.blue);
//Brush seaBrush = new SolidBrush(Color.Aqua);
g.fillRect(0, 0, _pictureWidth, _pictureHeight); g.fillRect(0, 0, _pictureWidth, _pictureHeight);
for (int i = 0; i < _pictureWidth / _placeSizeWidth; i++) for (int i = 0; i < _pictureWidth / _placeSizeWidth; i++)
{ {