ObjectProperties m_prop;
//
scene::ISceneManager *m_smgr = nullptr;
- IrrlichtDevice *m_irr = nullptr;
Client *m_client = nullptr;
aabb3f m_selection_box = aabb3f(-BS/3.,-BS/3.,-BS/3., BS/3.,BS/3.,BS/3.);
scene::IMeshSceneNode *m_meshnode = nullptr;
void processInitData(const std::string &data);
- ClientActiveObject *getParent();
+ ClientActiveObject *getParent() const;
bool getCollisionBox(aabb3f *toset) const;
bool collideWithObjects() const;
- aabb3f *getSelectionBox();
+ virtual bool getSelectionBox(aabb3f *toset) const;
v3f getPosition();
inline float getYaw() const
void removeFromScene(bool permanent);
- void addToScene(scene::ISceneManager *smgr, ITextureSource *tsrc,
- IrrlichtDevice *irr);
+ void addToScene(ITextureSource *tsrc);
inline void expireVisuals()
{