Files
OLCCodeJam2020-The-Great-Ma…/The Great Machine/Collisions.hpp
2020-09-04 17:10:24 +00:00

28 lines
409 B
C++

#ifndef GREATMACHINE_COLLISIONS_H_
#define GREATMACHINE_COLLISIONS_H_
#include <unordered_map>
#include <vector>
#include "olcPixelGameEngine.hpp"
class Entity;
class Tile;
class Collider
{
public:
int x, y, w, h;
};
class CollisionInfo
{
public:
};
bool EntityCollide(Entity* entity, std::vector<Tile*>& nearby, int tileSize, CollisionInfo* info, olc::PixelGameEngine* engine);
#endif