Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 12, 2005, 12:34:15 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/trackManager: some doxygen-tags.

File:
1 edited

Legend:

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

    r3515 r3517  
    1616
    1717class PNode;
    18 
    19 //! condition for choosing a certain Path. \todo implement a useful way.
    20 struct PathCondition
    21 {
    22  
    23 };
    24  
    2518
    2619//! A Graph-Element, that holds the curve-structure of a Level.
     
    4437  bool isJoined;             //!< If the End of the Curve is joined.
    4538  bool mainJoin;             //!< If the End of the Curve is joined, and this is the one Curve the others join to.
    46   PathCondition cond;        //!< The Split Condition;
    4739  int ID;                    //!< The ID of this TrackElement
    4840  float startingTime;        //!< The time at which this Track begins.
     
    6759  int leftRight(void* node);
    6860  int nearest(void* node);
    69   int enemyKilled(void* entity);
     61  // todo  int enemyKilled(void* entity);
    7062};
    7163
     64//! the Condition to choose between the different ways of the game.
    7265enum CONDITION {LOWEST, HIGHEST, RANDOM, LEFTRIGHT, NEAREST, ENEMYKILLED};
    7366
     
    118111  float maxTime;                      //!< The maximal time the track has.
    119112  int trackElemCount;                 //!< The count of TrackElements that exist.
    120   PNode* bindSlave;
     113  PNode* bindSlave;                   //!< The node that is slave to the TrackManager. This node will be moved while update the TrackManager, and must NOT move itself.
    121114 
    122115  void initChildren(unsigned int childCount);
     
    130123  // Methods to change the Path (initialisation)
    131124  void workOn(unsigned int trackID);
    132   inline void setCurveType(CurveType curveType) { this->setCurveType (curveType, this->currentTrackElem);}
     125  /** \see setCurveType(CurveType curveType, TrackElement* trackElem); \param curveType the type of the Curve */
     126  inline void setCurveType(CurveType curveType) { this->setCurveType (curveType, this->currentTrackElem);};
    133127  void setCurveType(CurveType curveType, TrackElement* trackElem);
    134128  void setDuration(float time);
     
    140134  void forkV(unsigned int count, int* trackIDs);
    141135  void condition(CONDITION cond, void* subject);
    142   void condition(unsigned int groupID, CONDITION cond, void* subject); //!< \todo really do this!!
     136  void condition(unsigned int groupID, CONDITION cond, void* subject);
    143137  void join(unsigned int count, ...);
    144138  void joinV(unsigned int count, int* trackIDs);
Note: See TracChangeset for help on using the changeset viewer.