From 4fb79ccaa31e07d58368071dbacba657a2d2a764 Mon Sep 17 00:00:00 2001 From: Anzhelika Nikolaieva Date: Thu, 20 Apr 2023 11:49:22 +0000 Subject: [PATCH] Update 'a3/game.h' --- a3/game.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/a3/game.h b/a3/game.h index f6026a9..dd78874 100644 --- a/a3/game.h +++ b/a3/game.h @@ -25,10 +25,8 @@ 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); +void update_game(struct game *game, int key); +void draw_game(struct game *game); // Changes world according to the game state (pressed key, screen size or other event) int game_event(struct event* event,void* game);