Changeset 5775 in orxonox.OLD for trunk/src/lib/graphics/render2D/element_2d.h
- Timestamp:
- Nov 25, 2005, 1:54:33 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/render2D/element_2d.h
r5417 r5775 10 10 11 11 #include "vector.h" 12 #include <list> 12 13 13 14 // FORWARD DECLARATION 14 15 class PNode; 15 16 class TiXmlElement; 16 template<class T> class tList;17 17 18 18 //!< An enumerator defining the Depth of a 2D-element. … … 171 171 inline Element2D* getParent2D () const { return this->parent; }; 172 172 /** @returns the List of Children of this Element2D */ 173 inline const tList<Element2D>*getChildren2D() const { return this->children; };173 inline const std::list<Element2D*>& getChildren2D() const { return this->children; }; 174 174 175 175 void setParentSoft2D(Element2D* parentNode, float bias = 1.0); … … 234 234 235 235 Element2D* parent; //!< a pointer to the parent node 236 tList<Element2D>*children; //!< list of the children of this Element2D236 std::list<Element2D*> children; //!< list of the children of this Element2D 237 237 238 238 unsigned int parentMode; //!< the mode of the binding
Note: See TracChangeset
for help on using the changeset viewer.