diff options
author | BoredGuy <osome3717@gmail.com> | 2024-12-31 09:57:35 +0300 |
---|---|---|
committer | BoredGuy <osome3717@gmail.com> | 2024-12-31 09:57:35 +0300 |
commit | df5888dde7755175f4ee300a87c2e983c5b384c4 (patch) | |
tree | 10a8910640ab684b1f1e024f545b562042055ede /Week1-Pacman/src/pacman.h | |
parent | 5f347311d117a8f453779c37c67fb2ec387c084b (diff) |
Pacman Movement Complete
- The movement system doesn't let you turn into walls now
- Minor maze improvements(more to come)
Diffstat (limited to 'Week1-Pacman/src/pacman.h')
-rw-r--r-- | Week1-Pacman/src/pacman.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Week1-Pacman/src/pacman.h b/Week1-Pacman/src/pacman.h index 3bb0681..c800910 100644 --- a/Week1-Pacman/src/pacman.h +++ b/Week1-Pacman/src/pacman.h @@ -26,7 +26,7 @@ struct pacman { struct animation animations[4]; }; -void handle_pacman_input(SDL_Event* e, struct pacman* pacman); +void handle_pacman_input(SDL_Event* e, struct pacman* pacman, struct map* map); void update_pacman(struct pacman* pacman, float dt, struct map* map); void draw_pacman(struct demo* demo, const struct pacman* pacman); |