Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 12, 2005, 2:27:48 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/trackManager: constructed a simple pathChooser-module, with Method-function pointer… really fancy stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/trackManager/src/track_manager.h

    r3498 r3514  
    5656  int childCount;            //!< The number of Children This TrackElement has.
    5757  TrackElement** children;   //!< A TrackElement can have a Tree of following TrackElements.
     58
     59  // CONDITION FUNCTIONS
     60  int (TrackElement::*condFunc)(void*); //!< Pointer to the condition function
     61
     62  int lowest(void* nothing);
     63  int highest(void* nothing);
     64  int random(void* nothing);
    5865};
    5966
     
    137144  void tick(float dt);
    138145  void jumpTo(float time);
    139   void choosePath(int graphID);
     146  int choosePath(TrackElement* trackElem);
    140147
    141148  void setBindSlave(PNode* bindSlave);
Note: See TracChangeset for help on using the changeset viewer.