Changeset 11358 for code/trunk/src/modules/gametypes/SpaceRaceBot.cc
- Timestamp:
- Mar 9, 2017, 4:22:19 PM (8 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
-
code/trunk/src/modules/gametypes/SpaceRaceBot.cc
r10262 r11358 23 23 * Author: purgham 24 24 */ 25 #include <vector> 25 26 26 27 #include "SpaceRaceBot.h" 28 #include "core/GameMode.h" 27 29 #include "core/CoreIncludes.h" 30 #include "core/config/ConfigValueIncludes.h" 31 #include "gametypes/Gametype.h" 32 #include "controllers/AIController.h" 33 #include "gametypes/SpaceRaceController.h" 34 35 36 28 37 29 38 namespace orxonox … … 35 44 this->defaultController_ = Class(SpaceRaceController);// ClassByString("") 36 45 this->createController(); 46 47 } 48 49 SpaceRaceBot::~SpaceRaceBot(){ 50 51 } 52 53 void SpaceRaceBot::setConfigValues() 54 { 55 static const std::string names[] = 56 { 57 "Dr. Julius No", 58 "Berkay Berabi", 59 "Louis Meile" 60 "Yo mama" 61 }; 62 static std::vector<std::string> defaultnames(names, names + sizeof(names) / sizeof(std::string)); 63 64 SetConfigValue(names_, defaultnames); 37 65 } 38 66 }
Note: See TracChangeset
for help on using the changeset viewer.