blob: fcd4248b29ecd96782304a5512c8549d7f5834d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "gamestate.h"
#include <cassert>
GameState * gameState {nullptr};
GameState::GameState()
{
assert(!gameState);
gameState = this;
}
GameState::~GameState()
{
gameState = nullptr;
}
|