1 #ifndef ENTITYMANAGER_H
2 #define ENTITYMANAGER_H
6 #include "external/json/json.h"
13 typedef std::vector<std::shared_ptr<Entity>> EntityList;
32 virtual void Move(
float deltaT);
42 void Register(std::shared_ptr<Entity> obj);
48 void Register(std::shared_ptr<Camera> camera);
53 void Remove(std::shared_ptr<Entity> entity);
59 std::shared_ptr<Entity>
GetEntity(
const std::string &name);
81 void PrintSharedPtrCount();
90 CollisionMap GetEntityCollisionMap(
const Rectf &target,
int distance = 2 * TILE_WIDTH);
95 std::shared_ptr<Camera> mCamera;