Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 20, 2011, 11:27:45 PM (13 years ago)
Author:
dafrick
Message:

Some cleanup…

File:
1 edited

Legend:

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

    r8706 r8767  
    3030#define _SpaceRace_H__
    3131
     32#include "gametypes/GametypesPrereqs.h"
     33
     34#include <set>
     35#include <string>
     36
     37#include <util/Clock.h>
     38
    3239#include "gametypes/Gametype.h"
    33 #include "gametypes/GametypesPrereqs.h"
     40
    3441#include "RaceCheckPoint.h"
    35 #include <boost/concept_check.hpp>
    36 #include <util/Clock.h>
    37 #include <string.h>
    38 #include <set>
    3942
    4043namespace orxonox
     
    4750    {
    4851        friend class RaceCheckPoint;
    49        
     52
    5053        public:
    5154            SpaceRace(BaseObject* creator);
     
    5356
    5457            virtual void start();
    55                 virtual void end();
     58            virtual void end();
    5659
    5760            virtual void newCheckpointReached();
    5861
    5962            inline void setCheckpointsReached(int n)
    60             { this->bCheckpointsReached_ = n;}
     63                { this->checkpointsReached_ = n;}
    6164            inline int getCheckpointsReached()
    62             { return this->bCheckpointsReached_; }
     65                { return this->checkpointsReached_; }
    6366            inline void timeIsUp()
    64             { this->bTimeIsUp_ = true;}
     67                { this->bTimeIsUp_ = true;}
    6568
    6669        protected:
    6770
    6871        private:
    69             int bCheckpointsReached_; //The current number of check points reached by the player.
     72            int checkpointsReached_; //The current number of check points reached by the player.
    7073            std::set<float> scores_; //The times of the players are saved in a set.
    7174            bool bTimeIsUp_; //True if one of the check points is reached too late.
Note: See TracChangeset for help on using the changeset viewer.