Working on Collisions

This commit is contained in:
2021-07-10 21:23:45 -04:00
parent de99b127b1
commit 10e5be7a65
6 changed files with 35 additions and 19 deletions

View File

@ -9,6 +9,7 @@
#define SRC_COLLISION_H_
#include <SDL2/SDL.h>
// #include "Vector2D.h"
class ColliderComponent;
@ -17,6 +18,7 @@ class Collision
public:
static bool AABB(const SDL_Rect& recA, const SDL_Rect& recB);
static bool AABB(const ColliderComponent& colA, const ColliderComponent& colB);
// void showColType();
};