Починил 1 фпс

This commit is contained in:
Артём Алейкин 2022-10-05 00:00:52 +04:00
parent 4274d8eab5
commit 550f65c1c2
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ namespace AirBomber
}
public Bitmap MoveObject(Direction direction)
{
{
//TODO
if (true)
{

View File

@ -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()