Relative Content

Tag Archive for c++design-patternssfml

Input Manager as a Singleton?

I’m creating a game with C++ and SFML, and i am writing an Input Manager to do stuff like hold a container with callback functions and load Bindings from a file. Is it a good idea to define the Input Manager as a Singleton or a Monostate class?