#include <track_manager.h>
| Public Member Functions | |
| TrackManager () | |
| standard constructor | |
| ~TrackManager () | |
| standard deconstructor | |
| void | workOn (int trackID) | 
| Sets the trackID we are working on. | |
| void | setType (CurveType curveType) | 
| Sets the Type of the Curve curveType The Type to set. | |
| void | setLength (float time) | 
| Sets the length of the current path in seconds. | |
| void | addPoint (Vector newPoint) | 
| adds a point to the current TrackElement | |
| void | addHotPoint (Vector newPoint) | 
| adds save/splitpoint. | |
| void | setSavePoint (void) | 
| Sets the last HotPoint into a savePoint. | |
| void | fork (int count,...) | 
| adds some interessting non-linear movments through the level. | |
| void | forkV (int count, int *trackIDs) | 
| adds some interessting non-linear movments through the level. | |
| void | condition (int groupID, PathCondition cond) | 
| decides under what condition a certain Path will be chosen. | |
| void | join (int count,...) | 
| joins some tracks together again. | |
| void | joinV (int count, int *trackIDs) | 
| joins some tracks together again. | |
| Vector | calcPos () | 
| calculates the Position for the localTime of the Track. | |
| Vector | calcDir () | 
| calculates the Rotation for the localTime of the Track. | |
| void | tick (float dt) | 
| Advances the local-time of the Track around dt. | |
| void | choosePath (int graphID) | 
| a Function that decides which Path we should follow. | |
| Private Member Functions | |
| TrackElement | findTrackElementByID (int trackID) | 
| Searches for a given trackID. | |
| Private Attributes | |
| TrackElement * | firstGraph | 
| The first Graph-element we are on. | |
| TrackElement * | currentGraph | 
| The Graph-element we are working on. | |
| float | localTime | 
| The time that has been passed since the traveling the Track. | |
| int | trackElementCount | 
| The count of TrackElements that exist. | |
| 
 | 
| standard constructor 
 
 | 
| 
 | 
| standard deconstructor 
 
 | 
| 
 | 
| adds save/splitpoint. 
 
 | 
| 
 | 
| adds a point to the current TrackElement 
 
 | 
| 
 | 
| calculates the Rotation for the localTime of the Track. 
 
 | 
| 
 | 
| calculates the Position for the localTime of the Track. 
 
 | 
| 
 | 
| a Function that decides which Path we should follow. 
 
 | 
| 
 | ||||||||||||
| decides under what condition a certain Path will be chosen. 
 
 | 
| 
 | 
| Searches for a given trackID. 
 
 
 | 
| 
 | ||||||||||||
| adds some interessting non-linear movments through the level. 
 
 If the HotPoint was defined as a savePoint the Point will not be set into a fork. | 
| 
 | ||||||||||||
| adds some interessting non-linear movments through the level. 
 
 
 | 
| 
 | ||||||||||||
| joins some tracks together again. 
 
 Join will join all curves to the first curve. | 
| 
 | ||||||||||||
| joins some tracks together again. 
 
 
 | 
| 
 | 
| Sets the length of the current path in seconds. 
 
 | 
| 
 | 
| Sets the last HotPoint into a savePoint. 
If no HotPoint was defined the last added Point will be rendered into a savePoint.  | 
| 
 | 
| Advances the local-time of the Track around dt. 
 
 | 
| 
 | 
| Sets the trackID we are working on. 
 
 | 
 1.3.8
 1.3.8