O'Reilly logo

Mastering SFML Game Development by Raimondas Pupius

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Use of graphical user interfaces

A friendly way of interfacing with applications in a day and age where computers are basically a necessity inside every household is a must. The entire subject of GUIs could fill multiple books by itself, so for the sake of keeping this simple, we are only going to scratch the surface of what we have to work with:

class GUI_Manager : public StateDependent{ friend class GUI_Interface; public: ... bool AddInterface(const StateType& l_state, const std::string& l_name); bool AddInterface(const std::string& l_name); GUI_Interface* GetInterface(const StateType& l_state, const std::string& l_name); GUI_Interface* GetInterface(const std::string& l_name); bool RemoveInterface(const StateType& l_state, const std::string& ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required