diff options
author | BoredGuy <osome3717@gmail.com> | 2024-12-31 10:22:43 +0300 |
---|---|---|
committer | BoredGuy <osome3717@gmail.com> | 2024-12-31 10:22:43 +0300 |
commit | dd83126b20122915ca673f0f385d089743f8bc4b (patch) | |
tree | ff53fc94153b03a6301f048d15352f1885b058f1 /Week1-Pacman/src/pacman.h | |
parent | df5888dde7755175f4ee300a87c2e983c5b384c4 (diff) |
More Muvement Improvements
- You can now hold a direction to turn to in the next frame
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 c800910..028a73f 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, struct map* map); +void handle_pacman_input(const char* keyboard, 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); |