Починил 1 фпс
This commit is contained in:
parent
4274d8eab5
commit
550f65c1c2
@ -13,12 +13,12 @@ namespace AirBomber
|
||||
|
||||
protected override void DrawBarrierPart(Graphics g, int i, int j)
|
||||
{
|
||||
g.FillRectangle(barrierColor, i * _size_x, j * _size_y, i * (_size_x + 1), j * (_size_y + 1));
|
||||
g.FillRectangle(barrierColor, i * _size_x, j * _size_y, 20, 20);
|
||||
}
|
||||
|
||||
protected override void DrawRoadPart(Graphics g, int i, int j)
|
||||
{
|
||||
g.FillRectangle(roadColor, i * _size_x, j * _size_y, i * (_size_x + 1), j * (_size_y + 1));
|
||||
g.FillRectangle(roadColor, i * _size_x, j * _size_y, 20, 20);
|
||||
}
|
||||
|
||||
protected override void GenerateMap()
|
||||
|
Loading…
Reference in New Issue
Block a user