Update 'a3/game.h'

This commit is contained in:
Anzhelika Nikolaieva 2023-04-20 11:49:22 +00:00
parent fdb7c9dd32
commit 4fb79ccaa3

View File

@ -25,10 +25,8 @@ struct game {
// Returns pointer to newly allocated state // Returns pointer to newly allocated state
void* init_game(); void* init_game();
void create_world(struct game *game); void update_game(struct game *game, int key);
void draw_world(struct game *game); void draw_game(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) // Changes world according to the game state (pressed key, screen size or other event)
int game_event(struct event* event,void* game); int game_event(struct event* event,void* game);