Changeset 3515 in orxonox.OLD for orxonox/branches/trackManager/src/track_manager.h
- Timestamp:
- Mar 12, 2005, 3:11:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/trackManager/src/track_manager.h
r3514 r3515 57 57 TrackElement** children; //!< A TrackElement can have a Tree of following TrackElements. 58 58 59 // CONDITION FUNCTIONS 59 // CONDITION FUNCTIONS and STUFF 60 void* subject; //!< The Subject the Condition should act upon. 60 61 int (TrackElement::*condFunc)(void*); //!< Pointer to the condition function 61 62 … … 63 64 int highest(void* nothing); 64 65 int random(void* nothing); 66 67 int leftRight(void* node); 68 int nearest(void* node); 69 int enemyKilled(void* entity); 65 70 }; 66 71 67 72 enum CONDITION {LOWEST, HIGHEST, RANDOM, LEFTRIGHT, NEAREST, ENEMYKILLED}; 68 73 69 74 //! The TrackManager handles the flow of the Players through the game. … … 134 139 void fork(unsigned int count, ...); 135 140 void forkV(unsigned int count, int* trackIDs); 136 void condition(unsigned int groupID, PathCondition cond); //!< \todo really do this!! 141 void condition(CONDITION cond, void* subject); 142 void condition(unsigned int groupID, CONDITION cond, void* subject); //!< \todo really do this!! 137 143 void join(unsigned int count, ...); 138 144 void joinV(unsigned int count, int* trackIDs);
Note: See TracChangeset
for help on using the changeset viewer.