aboutsummaryrefslogtreecommitdiff
path: root/eng/inc/gameng.h
blob: e808186efaa12290e672c136214d779d8b4d44d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include "game.h"

typedef struct Game Game;

/* calls fatal on failure, consider it never returns NULL */
Game *game_create(void);

void game_destroy(Game *this);

void game_init(Game *this);

void game_update(Game *this);

void game_draw(Game *this);