From 6f3fe42d5888e70fe195b6bbf32b7bdd4059415b Mon Sep 17 00:00:00 2001 From: BoredGuy Date: Wed, 25 Dec 2024 16:10:31 +0300 Subject: Started work on collisions --- Week1-Pacman/src/collision.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Week1-Pacman/src/collision.h (limited to 'Week1-Pacman/src/collision.h') 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 +#include + +bool is_colliding(SDL_Rect* a, SDL_Rect* b); + +#endif // COLLISION_H_ -- cgit v1.2.3