arch
This commit is contained in:
parent
f8e1e664a7
commit
5fd528e22a
11 changed files with 78 additions and 67 deletions
|
|
@ -1,12 +0,0 @@
|
|||
#include "01_automato.h"
|
||||
|
||||
static GameState_t g_state = {0};
|
||||
|
||||
GameState_t* get_game_state(void) {
|
||||
static int initialized = 0;
|
||||
if (!initialized) {
|
||||
g_state.state = GameOver;
|
||||
initialized = 1;
|
||||
}
|
||||
return &g_state;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue