summaryrefslogtreecommitdiff
path: root/Week1-Pacman/src/collision.h
diff options
context:
space:
mode:
Diffstat (limited to 'Week1-Pacman/src/collision.h')
-rw-r--r--Week1-Pacman/src/collision.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Week1-Pacman/src/collision.h b/Week1-Pacman/src/collision.h
new file mode 100644
index 0000000..8b58dfa
--- /dev/null
+++ b/Week1-Pacman/src/collision.h
@@ -0,0 +1,9 @@
+#ifndef COLLISION_H_
+#define COLLISION_H_
+
+#include <stdbool.h>
+#include <SDL2/SDL.h>
+
+bool is_colliding(SDL_Rect* a, SDL_Rect* b);
+
+#endif // COLLISION_H_