Malin D.V. Lab work 2 #2

Merged
eegov merged 7 commits from LabWork_02 into LabWork_01 2022-10-07 08:52:07 +04:00
2 changed files with 0 additions and 4 deletions
Showing only changes of commit eac9710f69 - Show all commits

View File

@ -20,12 +20,10 @@ namespace WarmlyLocomotive
{
g.FillRectangle(barrierColor, i * _size_x, j * _size_y, _size_x, _size_y);
}
protected override void DrawRoadPart(Graphics g, int i, int j)
{
g.FillRectangle(roadColor, i * _size_x, j * _size_y, _size_x, _size_y);
}
protected override void GenerateMap()
{
_map = new int[100, 100];

View File

@ -27,12 +27,10 @@ namespace WarmlyLocomotive
}
}
}
protected override void DrawRoadPart(Graphics g, int i, int j)
{
g.FillRectangle(roadColor, i * _size_x, j * _size_y, _size_x, _size_y);
}
protected override void GenerateMap()
{
_map = new int[100, 100];