mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
ActiveObjectMgr fixes (#13560)
This commit is contained in:
parent
929a13a9a0
commit
11ec75c2ad
17 changed files with 204 additions and 153 deletions
|
@ -26,13 +26,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
|
||||
namespace client
|
||||
{
|
||||
class ActiveObjectMgr : public ::ActiveObjectMgr<ClientActiveObject>
|
||||
class ActiveObjectMgr final : public ::ActiveObjectMgr<ClientActiveObject>
|
||||
{
|
||||
public:
|
||||
void clear();
|
||||
~ActiveObjectMgr() override;
|
||||
|
||||
void step(float dtime,
|
||||
const std::function<void(ClientActiveObject *)> &f) override;
|
||||
bool registerObject(ClientActiveObject *obj) override;
|
||||
bool registerObject(std::unique_ptr<ClientActiveObject> obj) override;
|
||||
void removeObject(u16 id) override;
|
||||
|
||||
void getActiveObjects(const v3f &origin, f32 max_d,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue