19 void step(
float dtime,
21 bool registerObject(std::unique_ptr<ClientActiveObject> obj)
override;
25 std::vector<DistanceSortedActiveObject> &dest);
Definition activeobjectmgr.h:18
Definition clientobject.h:30
Definition activeobjectmgr.h:15
~ActiveObjectMgr() override
Definition activeobjectmgr.cpp:13
void removeObject(u16 id) override
Definition activeobjectmgr.cpp:60
void step(float dtime, const std::function< void(ClientActiveObject *)> &f) override
Definition activeobjectmgr.cpp:22
std::vector< DistanceSortedActiveObject > getActiveSelectableObjects(const core::line3d< f32 > &shootline)
Gets all CAOs whose selection boxes may intersect the shootline.
Definition activeobjectmgr.cpp:93
void getActiveObjects(const v3f &origin, f32 max_d, std::vector< DistanceSortedActiveObject > &dest)
Definition activeobjectmgr.cpp:75
bool registerObject(std::unique_ptr< ClientActiveObject > obj) override
Definition activeobjectmgr.cpp:35
core::vector3df v3f
Definition irr_v3d.h:11
Definition activeobjectmgr.cpp:11