Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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/coord/p_node.h

    r5383 r5387  
    104104  void setParent (const char* parentName);
    105105  /** @returns the parent of this PNode */
    106   PNode* getParent () const { return this->parent; };
     106  inline PNode* getParent () const { return this->parent; };
     107  /** @returns the List of Children of this PNode */
     108  inline const tList<PNode>* getChildren() const { return this->children; };
    107109
    108110  void setParentSoft(PNode* parentNode, float bias = 1.0);
Note: See TracChangeset for help on using the changeset viewer.