summaryrefslogtreecommitdiff
path: root/src/clientobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/clientobject.h')
-rw-r--r--src/clientobject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/clientobject.h b/src/clientobject.h
index cae551abc..24150628e 100644
--- a/src/clientobject.h
+++ b/src/clientobject.h
@@ -41,6 +41,7 @@ class ITextureSource;
class IGameDef;
class LocalPlayer;
struct ItemStack;
+class WieldMeshSceneNode;
class ClientActiveObject : public ActiveObject
{
@@ -58,8 +59,10 @@ public:
virtual bool getCollisionBox(aabb3f *toset){return false;}
virtual bool collideWithObjects(){return false;}
virtual v3f getPosition(){return v3f(0,0,0);}
+ virtual scene::ISceneNode *getSceneNode(){return NULL;}
virtual scene::IMeshSceneNode *getMeshSceneNode(){return NULL;}
virtual scene::IAnimatedMeshSceneNode *getAnimatedMeshSceneNode(){return NULL;}
+ virtual WieldMeshSceneNode *getWieldMeshSceneNode(){return NULL;}
virtual scene::IBillboardSceneNode *getSpriteSceneNode(){return NULL;}
virtual bool isPlayer() const {return false;}
virtual bool isLocalPlayer() const {return false;}