Pegar itens com Enter (não-testado)
[Projeto-PCG.git] / collision.h
blob71bff16a38b878e1cce9fe7eccba1f2330a2a416
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 public:
11 bool checkCollision(Thing* a, Thing* b);
12 void subscribe(Thing* thing);
13 void remove(Thing* thing);
14 void update();
17 #endif