Fixed the bug where some files would not work, and now you can click on the tiles

This commit is contained in:
2022-10-17 09:23:47 +02:00
parent f1df4162a3
commit 24af23a3a2
5 changed files with 111 additions and 18 deletions
+4
View File
@@ -34,5 +34,9 @@ namespace NonoGramme
Bitmap bmp = new Bitmap(Width, Height);
this.Image = GameGrid.Draw(bmp, new Point((Width / 100) * DEFAULT_UI_RATIO, (Height / 100) * DEFAULT_UI_RATIO));
}
public void CursorClick(Point position)
{
GameGrid.Click(position);
}
}
}