GameState.h File Reference
Go to the source code of this file.
Classes | |
| class | GameState |
Defines | |
| #define | GAMESTATE_IMPLEMENTATION(className) |
Define Documentation
| #define GAMESTATE_IMPLEMENTATION | ( | className | ) |
Value:
private: \ static GameState* Create##className##Instance() \ { \ return new className; \ } \ public: \ static void Register() \ { \ GameStateManager::GetInstance()->RegisterGameState( \ StringId(#className), \ Create##className##Instance); \ } \
Definition at line 32 of file GameState.h.
Reproduction/republishing of any material on this site without permission is strictly prohibited.
