summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Starshatter.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-04-06 21:28:00 +0200
committerAki <please@ignore.pl>2022-04-06 21:53:47 +0200
commit947910fc3c541ffdab3b042cfa3a3926b64f0ba3 (patch)
treea4d6b261d0edaa516d34b3fcb4baa8f84381adad /StarsEx/Starshatter.h
parenta793e933b1e7e5b62fe4e15403e1d5fb33dc2dd4 (diff)
downloadstarshatter-947910fc3c541ffdab3b042cfa3a3926b64f0ba3.zip
starshatter-947910fc3c541ffdab3b042cfa3a3926b64f0ba3.tar.gz
starshatter-947910fc3c541ffdab3b042cfa3a3926b64f0ba3.tar.bz2
Streamlined instance management for Game and derived classes
Diffstat (limited to 'StarsEx/Starshatter.h')
-rw-r--r--StarsEx/Starshatter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/StarsEx/Starshatter.h b/StarsEx/Starshatter.h
index ca30124..ecd1a62 100644
--- a/StarsEx/Starshatter.h
+++ b/StarsEx/Starshatter.h
@@ -132,7 +132,6 @@ protected:
virtual bool ResizeVideo();
virtual void InitMouse();
- static Starshatter* instance;
Window* gamewin;
MenuScreen* menuscreen;
LoadScreen* loadscreen;
@@ -200,6 +199,9 @@ protected:
NetLobby* net_lobby;
int chat_mode;
Text chat_text;
+
+private:
+ static Starshatter* instance;
};
#endif // Starshatter_h