Починили

This commit is contained in:
Макс Бондаренко 2022-10-05 00:01:13 +04:00
parent 7e680a1319
commit 64eab1b261

View File

@ -14,13 +14,11 @@ namespace WarmlyShip
protected override void DrawBarrierPart(Graphics g, int i, int j) protected override void DrawBarrierPart(Graphics g, int i, int j)
{ {
g.FillRectangle(barrierColor, i * _size_x, j * _size_y, i * (_size_x + g.FillRectangle(barrierColor, i * _size_x, j * _size_y, 20, 20);
1), j * (_size_y + 1));
} }
protected override void DrawRoadPart(Graphics g, int i, int j) protected override void DrawRoadPart(Graphics g, int i, int j)
{ {
g.FillRectangle(roadColor, i * _size_x, j * _size_y, i * (_size_x + g.FillRectangle(roadColor, i * _size_x, j * _size_y, 20, 20);
1), j * (_size_y + 1));
} }
protected override void GenerateMap() protected override void GenerateMap()
{ {