Arch Game Engine  0.2
gamestate.h
1 #ifndef GAMESTATE_H
2 #define GAMESTATE_H
3 
4 class GameState {
5  public:
6  GameState();
7  ~GameState();
8  int SPLASH = 0, MENU = 1, INGAME = 2, GAMEOVER = 3, PAUSE = 4;
9  int getGameState();
10  void setGameState(int);
11  private:
12  int currentstate = 0;
13 };
14 
15 #endif //GAMESTATE_H