Changeset 3835 in orxonox.OLD for orxonox/trunk/src/track_manager.h
- Timestamp:
- Apr 15, 2005, 4:59:42 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/track_manager.h
r3608 r3835 37 37 38 38 TrackElement* findByID(unsigned int trackID); 39 bool backLoopCheck(TrackElement* trackElem); 39 TrackElement* findByName(const char* trackName); 40 bool backLoopCheck(const TrackElement* trackElem, unsigned int depth = 0) const; 40 41 41 TrackElement* getChild(int childNumber) ;42 TrackElement* getChild(int childNumber) const; 42 43 void setName(const char* name); 43 c har* getName(void) const;44 const char* getName(void) const; 44 45 45 46 // atributes … … 65 66 TrackElement* history; //!< a pointer to the last TrackElement we were on. This is if you want to walk the path backwards again. 66 67 67 void debug(void) ;68 void debug(void) const; 68 69 69 70 // CONDITION FUNCTIONS and STUFF 70 71 void* subject; //!< The Subject the Condition should act upon. 71 int (TrackElement::*condFunc)( void*); //!< Pointer to the condition function72 int (TrackElement::*condFunc)(const void*) const; //!< Pointer to the condition function 72 73 73 int lowest( void* nothing);74 int highest( void* nothing);75 int random( void* nothing);74 int lowest(const void* nothing) const; 75 int highest(const void* nothing) const; 76 int random(const void* nothing) const; 76 77 77 int leftRight( void* node);78 int nearest( void* node);78 int leftRight(const void* node) const; 79 int nearest(const void* node) const; 79 80 // todo int enemyKilled(void* entity); 80 81
Note: See TracChangeset
for help on using the changeset viewer.