first commit

This commit is contained in:
2021-01-29 21:14:20 -05:00
commit b2acceb4b9
78 changed files with 6774 additions and 0 deletions

23
src/game/Collision.h Normal file
View File

@ -0,0 +1,23 @@
/*
* Collision.h
*
* Created on: Mar 8, 2020
* Author: ayoungblood
*/
#ifndef SRC_COLLISION_H_
#define SRC_COLLISION_H_
#include <SDL2/SDL.h>
class ColliderComponent;
class Collision
{
public:
static bool AABB(const SDL_Rect& recA, const SDL_Rect& recB);
static bool AABB(const ColliderComponent& colA, const ColliderComponent& colB);
};
#endif /* SRC_COLLISION_H_ */