Working on Collisions
This commit is contained in:
@ -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();
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user