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.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/Week1-Pacman/src/pacman.h b/Week1-Pacman/src/pacman.h
index 65137cd..07096a8 100644
--- a/Week1-Pacman/src/pacman.h
+++ b/Week1-Pacman/src/pacman.h
@@ -5,13 +5,7 @@
#include "animation.h"
#include "demo.h"
#include "map.h"
-
-enum facing {
- FACING_RIGHT,
- FACING_DOWN,
- FACING_LEFT,
- FACING_UP
-};
+#include "facing.h"
struct pacman_init {
float initial_xpos;
@@ -32,7 +26,6 @@ struct pacman {
struct animation animations[4];
};
-void load_pacman_spritesheet(struct demo* demo);
void init_pacman(struct pacman* pacman, struct pacman_init* init);
void handle_pacman_input(struct pacman* pacman, struct map* map);
void update_pacman(struct pacman* pacman, float dt, struct map* map);