Небольшие исправления
This commit is contained in:
parent
954aa17666
commit
eac9710f69
@ -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];
|
||||||
|
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user