Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5387 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
Oct 16, 2005, 12:42:16 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: PNode and Element2D can now return their children-lists as const tList<type>*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/render2D/element_2d.h

    r5382 r5387  
    153153    void setParent2D (const char* parentName);
    154154    /** @returns the parent of this Element2D */
    155     Element2D* getParent () const { return this->parent; };
     155    inline Element2D* getParent () const { return this->parent; };
     156    /** @returns the List of Children of this Element2D */
     157    inline const tList<Element2D>* getChildren2D() const { return this->children; };
    156158
    157159    void setParentSoft2D(Element2D* parentNode, float bias = 1.0);
Note: See TracChangeset for help on using the changeset viewer.