- Timestamp:
- Oct 24, 2016, 4:06:00 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/SpaceRace_HS16/src/modules/gametypes/SpaceRace.cc
r11232 r11246 49 49 this->cantMove_ = false; 50 50 this->bTimeIsUp_ = false; 51 this->numberOfBots_ = 0; // quick fix: don't allow default-bots to enter the race51 this->numberOfBots_ = 1; // quick fix: don't allow default-bots to enter the race 52 52 // remove this line, if a raceBot has been created. 53 53 } 54 55 56 57 58 59 54 60 55 61 void SpaceRace::end() … … 78 84 } 79 85 86 87 88 89 90 80 91 void SpaceRace::tick(float dt) 81 92 { … … 100 111 this->cantMove_= false; 101 112 102 std::string message = "The race begins! Reach the check points as quickly as possible!"; 113 114 115 std::string message = "Hello!"; 103 116 this->getGametypeInfo()->sendAnnounceMessage(message); 104 117 ChatManager::message(message); 105 118 } 106 119 } 120 121 122 123 124 107 125 108 126 void SpaceRace::newCheckpointReached(RaceCheckPoint* checkpoint, PlayerInfo* player)
Note: See TracChangeset
for help on using the changeset viewer.