diff options
Diffstat (limited to 'ghosts.h')
-rw-r--r-- | ghosts.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -63,6 +63,7 @@ struct ghost_type { enum movement_direction direction; struct prison prison_params; struct capture capture_info; + int reached_pacman; }; void initialize_ghost(struct ghost_type *ghost, enum ghost_color color); @@ -74,6 +75,12 @@ void pull_out_ghosts(int *get_out_stage, struct ghost_type *orange_ghost); struct queue; +void clear_ghost_positions(game_space field, const struct queue *eaten_coins, + const struct ghost_type *red_ghost, + const struct ghost_type *pink_ghost, + const struct ghost_type *blue_ghost, + const struct ghost_type *orange_ghost); + void make_ghost_moves(game_space field, struct ghost_type *red_ghost, struct ghost_type *pink_ghost, |