- Timestamp:
- Oct 30, 2008, 2:44:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/worldentities/WorldEntity.h
r2040 r2065 134 134 { parent->attach(this); } 135 135 inline void detachFromParent() 136 { this->parent_->detach(this);}136 { if (this->parent_) { this->parent_->detach(this); } } 137 137 inline WorldEntity* getParent() const 138 138 { return this->parent_; }
Note: See TracChangeset
for help on using the changeset viewer.