Introduction
Downloads
Documentation
Tutorials
Pixie Lite
Forum

Home

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.



Pixie University and the Pixie Game Engine is created and managed by Mattias Gustavsson.
Reproduction/republishing of any material on this site without permission is strictly prohibited.