Changeset 6070 in orxonox.OLD for trunk/src/lib/coord
- Timestamp:
- Dec 12, 2005, 6:13:31 PM (19 years ago)
- Location:
- trunk/src/lib/coord
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/null_parent.cc
r5300 r6070 33 33 this->setName("NullParent"); 34 34 35 while (!this->getNodesChildren().empty()) 36 delete this->getNodesChildren().front(); 37 35 38 this->setParentMode(PNODE_ALL); 36 39 NullParent::singletonRef = this; -
trunk/src/lib/coord/p_node.h
r6054 r6070 71 71 //! Patent Node is a Engine to calculate the position of an Object in respect to the position of its parent. 72 72 class PNode : virtual public BaseObject { 73 74 73 public: 75 74 PNode (); … … 137 136 void removeChild (PNode* child); 138 137 void removeNode(); 138 const std::list<PNode*>& getNodesChildren() const { return this->children; }; 139 139 140 140 /** @param parent the new parent of this node */
Note: See TracChangeset
for help on using the changeset viewer.