Небольшие исправления

This commit is contained in:
Danil Malin 2022-09-30 10:54:38 +04:00
parent 954aa17666
commit eac9710f69
2 changed files with 0 additions and 4 deletions

View File

@ -20,12 +20,10 @@ namespace WarmlyLocomotive
{ {
g.FillRectangle(barrierColor, i * _size_x, j * _size_y, _size_x, _size_y); g.FillRectangle(barrierColor, i * _size_x, j * _size_y, _size_x, _size_y);
} }
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, _size_x, _size_y); g.FillRectangle(roadColor, i * _size_x, j * _size_y, _size_x, _size_y);
} }
protected override void GenerateMap() protected override void GenerateMap()
{ {
_map = new int[100, 100]; _map = new int[100, 100];

View File

@ -27,12 +27,10 @@ namespace WarmlyLocomotive
} }
} }
} }
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, _size_x, _size_y); g.FillRectangle(roadColor, i * _size_x, j * _size_y, _size_x, _size_y);
} }
protected override void GenerateMap() protected override void GenerateMap()
{ {
_map = new int[100, 100]; _map = new int[100, 100];