diff options
author | Aki <please@ignore.pl> | 2022-04-06 21:28:00 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-06 21:53:47 +0200 |
commit | 947910fc3c541ffdab3b042cfa3a3926b64f0ba3 (patch) | |
tree | a4d6b261d0edaa516d34b3fcb4baa8f84381adad /StarsEx/Game.h | |
parent | a793e933b1e7e5b62fe4e15403e1d5fb33dc2dd4 (diff) | |
download | starshatter-947910fc3c541ffdab3b042cfa3a3926b64f0ba3.zip starshatter-947910fc3c541ffdab3b042cfa3a3926b64f0ba3.tar.gz starshatter-947910fc3c541ffdab3b042cfa3a3926b64f0ba3.tar.bz2 |
Streamlined instance management for Game and derived classes
Diffstat (limited to 'StarsEx/Game.h')
-rw-r--r-- | StarsEx/Game.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/StarsEx/Game.h b/StarsEx/Game.h index 2aa1df7..48629c6 100644 --- a/StarsEx/Game.h +++ b/StarsEx/Game.h @@ -85,6 +85,9 @@ protected: bool server; bool show_mouse; DWORD frame_number; + +private: + static Game* instance; }; // +--------------------------------------------------------------------+ |