Changeset 11840 for code/branches/RacingBots_FS18/src/modules
- Timestamp:
- Mar 29, 2018, 3:57:54 PM (7 years ago)
- Location:
- code/branches/RacingBots_FS18/src/modules/gametypes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/RacingBots_FS18/src/modules/gametypes/SpaceRace.cc
r11721 r11840 71 71 #include <vector> 72 72 73 74 73 namespace orxonox 75 74 { … … 138 137 } 139 138 139 140 140 std::string message("Use headphones to hear the countdown!"); 141 141 this->getGametypeInfo()->sendAnnounceMessage(message); 142 142 ChatManager::message(message); 143 144 143 145 144 146 //after 11 seconds , countdownFinished function is called to activate bots` engines 145 147 Timer* countdownTimer = new Timer(); 146 148 countdownTimer->setTimer(11, false, createExecutor(createFunctor(&SpaceRace::countdownFinished, this))); 147 }148 149 150 } 149 151 150 152 -
code/branches/RacingBots_FS18/src/modules/gametypes/SpaceRace.h
r11720 r11840 60 60 virtual void end() override; 61 61 virtual void countdownFinished(); 62 62 63 virtual void addBots(unsigned int amount) override; //<! overwrite function in order to bypass the addbots command. 63 64
Note: See TracChangeset
for help on using the changeset viewer.