Changeset 10698 in orxonox.OLD for trunk/src/util/track/track.h
- Timestamp:
- Jun 14, 2007, 5:33:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/track/track.h
r10498 r10698 12 12 class PNode; 13 13 class TiXmlElement; 14 class ActionBox; 14 15 15 16 class Track : public BaseObject … … 42 43 float duration; //!< The time used to cross this Track (curve). 43 44 float endTime; //!< The time at which this Track ends. 44 float width; //!< Th width of the Path. This tells the Player(s), how far he(they) can go to the left/right. 45 float width; //!< The width of the action box, next to the player. 46 float height; //!< The Height of the action box, next to the player 47 float depth; //!< Depth of the action box 48 float stretch; //!< multiplyer between w/h at player and w/h at far end of the action box 45 49 46 50 int nodeCount; //!< The count of points this Track has. 47 51 Curve* curve; //!< The Curve of this Track 52 53 ActionBox* getActionBox(){ return this->actionBox; } 48 54 49 55 private: 50 56 void init(); 51 52 57 53 58 private: 54 59 CurveType curveType; //!< The CurveType the entire TrackSystem will have. … … 57 62 int mode; //!< Defines the behaviour of the Track. 58 63 bool pause; //!< Defines if the track runs (false) or not (true) 64 65 ActionBox* actionBox; 66 67 void addActionBox( float width_2, float height_2, float depth, float stretch ); 68 69 59 70 }; 60 71
Note: See TracChangeset
for help on using the changeset viewer.