mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
49c3c30c79
IsWindowBeingClosed reports whether the window is being closed by the user. SetWindowClosingHandled sets whether the window closing is handled or not. If the state is true, the window is not closed immediately by the user and the game can handle the closing state. In this case, the Update function should return an error in order to end the game. This change also adds examples/windowclosing. Closes #1574 |
||
---|---|---|
.. | ||
main.go |