Changeset 11312 for code/branches/SpaceRace_HS16/src/modules
- Timestamp:
- Nov 28, 2016, 4:36:54 PM (8 years ago)
- Location:
- code/branches/SpaceRace_HS16/src/modules/gametypes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/SpaceRace_HS16/src/modules/gametypes/SpaceRace.cc
r11303 r11312 218 218 void SpaceRace::addBots(unsigned int amount) 219 219 { 220 for (unsigned int i = 0; i < amount; ++i)220 for (unsigned int i = 1; i <= amount/2; ++i){ 221 221 this->botclass_.fabricate(this->getContext()); 222 222 //SpaceRaceBot* bot = new SpaceRaceBot(this->getContext()); 223 //bot->setPosition(-i*150,0,-i*100); 224 } 225 for (unsigned int i = 1; i <= amount/2; ++i){ 226 this->botclass_.fabricate(this->getContext()); 227 //SpaceRaceBot* bot = new SpaceRaceBot(this->getContext()); 228 //bot->setPosition(-i*150,0,i*100); 229 } 223 230 224 231 -
code/branches/SpaceRace_HS16/src/modules/gametypes/SpaceRaceBot.cc
r11281 r11312 35 35 36 36 37 37 38 namespace orxonox 38 39 { … … 58 59 "Louis Meile" 59 60 60 " Dominic Greene"61 "Abradolf Lincler" 61 62 }; 62 63 static std::vector<std::string> defaultnames(names, names + sizeof(names) / sizeof(std::string)); … … 64 65 SetConfigValue(names_, defaultnames); 65 66 } 66 67 68 69 70 67 } -
code/branches/SpaceRace_HS16/src/modules/gametypes/SpaceRaceController.cc
r11306 r11312 371 371 372 372 } 373 /*374 void SpaceRaceController::useBoost()375 {376 377 }378 */379 373 380 374 /*void SpaceRaceController::computeVirtualCheckpoint(RaceCheckPoint* racepoint1, RaceCheckPoint* racepoint2, const std::vector<StaticEntity*>& allObjects)
Note: See TracChangeset
for help on using the changeset viewer.