- Timestamp:
- Oct 19, 2011, 4:21:48 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/spaceraceTwo/src/modules/gametypes/SpaceRace.h
r8767 r8898 34 34 #include <set> 35 35 #include <string> 36 #include <vector> 36 37 37 38 #include <util/Clock.h> … … 57 58 virtual void start(); 58 59 virtual void end(); 59 60 60 61 virtual void newCheckpointReached(); 61 62 … … 66 67 inline void timeIsUp() 67 68 { this->bTimeIsUp_ = true;} 68 69 void tick(float dt); 69 70 protected: 70 71 71 72 private: 73 std::vector<float> maxSpeedBack_; std::vector<float> maxSpeedFront_; std::vector<float> maxSpeedLeftRight_; std::vector<float> maxSpeedUpDown_; 72 74 int checkpointsReached_; //The current number of check points reached by the player. 73 75 std::set<float> scores_; //The times of the players are saved in a set.
Note: See TracChangeset
for help on using the changeset viewer.