Acho que consegui corrigi a ponta das armas
[Projeto-PCG.git] / collision.h
blob8998e18fee4fc8ee6c0c4b0bc2f9a9a2516870b7
1 #ifndef COLLISION_H
2 #define COLLISION_H
4 #include <set>
5 #include "thing.h"
7 class CollisionManager {
8 private:
9 std::set<Thing*> things;
10 void checkCollision(Thing* a, Thing* b);
11 public:
12 void subscribe(Thing* thing);
13 void remove(Thing* thing);
14 void update();
17 #endif