summaryrefslogtreecommitdiff
path: root/Week1-Pacman/src/pacman.h
diff options
context:
space:
mode:
Diffstat (limited to 'Week1-Pacman/src/pacman.h')
-rw-r--r--Week1-Pacman/src/pacman.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Week1-Pacman/src/pacman.h b/Week1-Pacman/src/pacman.h
index e1610af..3bb0681 100644
--- a/Week1-Pacman/src/pacman.h
+++ b/Week1-Pacman/src/pacman.h
@@ -4,6 +4,7 @@
#include <SDL2/SDL.h>
#include "animation.h"
#include "demo.h"
+#include "map.h"
enum facing {
FACING_RIGHT,
@@ -26,7 +27,7 @@ struct pacman {
};
void handle_pacman_input(SDL_Event* e, struct pacman* pacman);
-void update_pacman(struct pacman* pacman, float dt);
+void update_pacman(struct pacman* pacman, float dt, struct map* map);
void draw_pacman(struct demo* demo, const struct pacman* pacman);
#endif // PACMAN_H_