diff options
Diffstat (limited to 'pac.h')
-rw-r--r-- | pac.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -11,7 +11,7 @@ enum { struct pacman { char lives; - unsigned char points_eaten; + unsigned char coins_eaten; struct coordinates position; enum movement_direction direction; }; @@ -23,7 +23,8 @@ void change_pac_direction(game_space field, struct pacman *pac, int key, void check_remaining_direction(game_space field, struct pacman *pac, enum movement_direction *stored_direction); - -void make_pac_move(game_space field, struct pacman *pac); +struct queue; +void make_pac_move(game_space field, struct pacman *pac, + struct queue *eaten_coins); #endif |