Update 'a3/game.h'
This commit is contained in:
parent
12dd40de42
commit
fdb7c9dd32
@ -25,6 +25,11 @@ struct game {
|
||||
// Returns pointer to newly allocated state
|
||||
void* init_game();
|
||||
|
||||
void create_world(struct game *game);
|
||||
void draw_world(struct game *game);
|
||||
void move_cat(struct game *game, int key);
|
||||
void move_mouse(struct game *game, int mouse_index);
|
||||
|
||||
// Changes world according to the game state (pressed key, screen size or other event)
|
||||
int game_event(struct event* event,void* game);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user