summaryrefslogtreecommitdiff
path: root/Week1-Pacman/src/collision.h
diff options
context:
space:
mode:
authorBoredGuy <osome3717@gmail.com>2024-12-25 16:10:31 +0300
committerBoredGuy <osome3717@gmail.com>2024-12-25 16:10:31 +0300
commit6f3fe42d5888e70fe195b6bbf32b7bdd4059415b (patch)
tree024b054c282167c5d093cf3671368bb71d238002 /Week1-Pacman/src/collision.h
parent7340dcda9151c50c84e283f102ea2f44dbf1443f (diff)
Started work on collisions
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_