Last active
July 8, 2017 16:07
-
-
Save KrzaQ/b7c64572ec7717180d124741f4f8c477 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 Window | |
{ | |
private: | |
Window(){} | |
Window(const Window &){} | |
sf::RenderWindow window; | |
public: | |
static sf::RenderWindow& getWindow() | |
{ | |
static Window window; | |
return window.window; | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment