- Timestamp:
- Dec 13, 2011, 10:50:14 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/spaceraceTwo/src/modules/gametypes/SpaceRaceManager.h
r8968 r8970 53 53 { 54 54 friend class RaceCheckPoint; 55 56 55 57 56 public: 58 57 SpaceRaceManager(BaseObject* creator); 59 58 virtual ~SpaceRaceManager() ; 60 59 61 void XMLPort(Element& xmlelement, XMLPort::Mode mode);62 60 void XMLPort(Element& xmlelement, XMLPort::Mode mode); 61 int getIndex(RaceCheckPoint* r); 63 62 void addCheckpoint(RaceCheckPoint* checkpoint); 64 63 RaceCheckPoint* getCheckpoint(unsigned int index) const; 65 66 void checkpointReached(RaceCheckPoint* check, PlayerInfo* player); 67 68 69 70 void tick(float dt); 64 65 void checkpointReached(RaceCheckPoint* check, PlayerInfo* player); 66 67 void tick(float dt); 68 71 69 protected: 72 void setRadVis(PlayerInfo* player, bool b); 70 void setRadVis(PlayerInfo* player, bool b); 71 73 72 private: 74 std::vector<RaceCheckPoint*> checkpoints_; 75 bool firstcheckpointvisible_; 76 77 78 }; 73 std::vector<RaceCheckPoint*> checkpoints_; 74 bool firstcheckpointvisible_; 75 76 }; 79 77 } 80 78
Note: See TracChangeset
for help on using the changeset viewer.