Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 19, 2011, 4:21:48 PM (13 years ago)
Author:
eceline
Message:

Space Race mit countdown

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/spaceraceTwo/src/modules/gametypes/SpaceRace.h

    r8767 r8898  
    3434#include <set>
    3535#include <string>
     36#include <vector>
    3637
    3738#include <util/Clock.h>
     
    5758            virtual void start();
    5859            virtual void end();
    59 
     60               
    6061            virtual void newCheckpointReached();
    6162
     
    6667            inline void timeIsUp()
    6768                { this->bTimeIsUp_ = true;}
    68 
     69        void tick(float dt);
    6970        protected:
    7071
    7172        private:
     73        std::vector<float> maxSpeedBack_; std::vector<float> maxSpeedFront_; std::vector<float> maxSpeedLeftRight_; std::vector<float> maxSpeedUpDown_;
    7274            int checkpointsReached_; //The current number of check points reached by the player.
    7375            std::set<float> scores_; //The times of the players are saved in a set.
Note: See TracChangeset for help on using the changeset viewer.