Moved the main event loop out of GUI so it's not so tightly coupled to everything else.

This commit is contained in:
Zed A. Shaw 2024-09-10 22:58:45 -04:00
parent c0ad0c8d23
commit 5ae24d9b0a
4 changed files with 22 additions and 23 deletions

View file

@ -47,6 +47,9 @@ class SFMLBackend {
public:
SFMLBackend(GameEngine &g);
// prevent copy
SFMLBackend(SFMLBackend &g) = delete;
void startup();
bool is_open();