- Timestamp:
- Nov 29, 2008, 12:25:22 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/orxonox/objects/worldentities/WorldEntity.h
r2292 r2296 61 61 void registerVariables(); 62 62 63 inline Ogre::SceneNode* getNode() const63 inline const Ogre::SceneNode* getNode() const 64 64 { return this->node_; } 65 65 … … 145 145 { return this->children_; } 146 146 147 inline void attachOgreObject(Ogre::MovableObject* object) 148 { this->node_->attachObject(object); } 149 inline void detachOgreObject(Ogre::MovableObject* object) 150 { this->node_->detachObject(object); } 151 inline Ogre::MovableObject* detachOgreObject(const Ogre::String& name) 152 { return this->node_->detachObject(name); } 153 147 154 inline void attachToParent(WorldEntity* parent) 148 155 { parent->attach(this); }
Note: See TracChangeset
for help on using the changeset viewer.