- Timestamp:
- Nov 7, 2016, 4:00:25 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/SpaceRace_HS16/src/modules/gametypes/OldSpaceRace.cc
r11260 r11272 36 36 #include "items/Engine.h" 37 37 #include "controllers/HumanController.h" 38 #include "SpaceRaceBot.h"39 38 40 39 #include "core/CoreIncludes.h" … … 43 42 #include "worldentities/pawns/Pawn.h" 44 43 #include "core/config/ConfigValueIncludes.h" 44 #include "infos/Bot.h" 45 #include "SpaceRaceBot.h" 45 46 46 47 … … 56 57 57 58 //this->botclass_ = Class(); 59 this->botclass_ = Class(SpaceRaceBot);//ClassByString("") 58 60 59 61 this->checkpointsReached_ = 0; … … 168 170 } 169 171 172 /*void playerEntered(PlayerInfo* player) { 173 174 175 Gametype::playerEntered(player); 176 177 const std::string& message = player->getName() + " entered the game"; 178 ChatManager::message(message); 179 180 }*/ 181 182 183 184 185 void OldSpaceRace::addBots(unsigned int amount) 186 { 187 for (unsigned int i = 0; i < amount; ++i) 188 this->botclass_.fabricate(this->getContext()); 189 } 190 191 192 193 170 194 171 195 }
Note: See TracChangeset
for help on using the changeset viewer.