Last active
January 28, 2017 16:36
-
-
Save PoetaKodu/b5f035fdaaccefe339d1e9e72f88a454 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CGame final | |
{ | |
public: | |
~CGame(); | |
CGame(const CGame &) = delete; | |
void operator=(const CGame &) = delete; | |
inline static CGame& Instance() | |
{ | |
static CGame instance; | |
return instance; | |
} | |
private: | |
CGame(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment