Changeset 2173 for code/branches/objecthierarchy2/src/orxonox
- Timestamp:
- Nov 10, 2008, 2:06:09 AM (16 years ago)
- Location:
- code/branches/objecthierarchy2/src/orxonox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/LevelManager.cc
r2171 r2173 42 42 assert(singletonRef_s == 0); 43 43 singletonRef_s = this; 44 45 PlayerManager::getInstance(); // ensure existence of PlayerManager 44 46 } 45 47 -
code/branches/objecthierarchy2/src/orxonox/gamestates/GSLevel.cc
r2103 r2173 51 51 namespace orxonox 52 52 { 53 SetCommandLineArgument(level, "sample 2.oxw").shortcut("l");53 SetCommandLineArgument(level, "sample3.oxw").shortcut("l"); 54 54 55 55 GSLevel::GSLevel() -
code/branches/objecthierarchy2/src/orxonox/objects/Level.cc
r2171 r2173 141 141 void Level::playerEntered(PlayerInfo* player) 142 142 { 143 COUT(3) << "player entered level " << std::endl;143 COUT(3) << "player entered level (id: " << player->getClientID() << ", name: " << player->getName() << ")" << std::endl; 144 144 player->setGametype(this->getGametype()); 145 145 } … … 147 147 void Level::playerLeft(PlayerInfo* player) 148 148 { 149 COUT(3) << "player left level " << std::endl;149 COUT(3) << "player left level (id: " << player->getClientID() << ", name: " << player->getName() << ")" << std::endl; 150 150 player->setGametype(0); 151 151 }
Note: See TracChangeset
for help on using the changeset viewer.