Changeset 3989 in orxonox.OLD for orxonox/branches/ll2trunktemp/src/story_entities/world.cc
- Timestamp:
- Apr 27, 2005, 1:21:26 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/ll2trunktemp/src/story_entities/world.cc
r3940 r3989 118 118 World::World( TiXmlElement* root) 119 119 { 120 this->constuctorInit("", -1); 121 120 122 const char *string; 121 123 char *name; … … 148 150 149 151 this->localPlayer = NULL; 150 this->entities = new tList<WorldEntity>(); 151 152 153 this->setClassName ("World"); 152 154 153 } 155 154 … … 161 160 World::World (char* name) 162 161 { 163 this-> init(name, -1);162 this->constuctorInit(name, -1); 164 163 //NullParent* np = NullParent::getInstance(); 165 164 } … … 171 170 World::World (int worldID) 172 171 { 173 this-> init(NULL, worldID);172 this->constuctorInit(NULL, worldID); 174 173 } 175 174 … … 216 215 NO LEVEL LOADING HERE - NEVER! 217 216 */ 218 void World:: init(char* name, int worldID)217 void World::constuctorInit(char* name, int worldID) 219 218 { 220 219 this->setClassName ("World"); … … 225 224 this->debugWorldNr = worldID; 226 225 this->entities = new tList<WorldEntity>(); 227 AnimationPlayer::getInstance(); // initializes the animationPlayer228 226 } 229 227 … … 241 239 wi->init(this); 242 240 this->garbageCollector = GarbageCollector::getInstance(); 241 AnimationPlayer::getInstance(); // initializes the animationPlayer 242 243 this->nullParent = NullParent::getInstance(); 243 244 } 244 245 … … 376 377 377 378 // initializing the TrackManager 378 379 this->trackManager = TrackManager::getInstance(); 379 380 //trackManager->addPoint(Vector(0,0,0)); 380 381 trackManager->addPoint(Vector(150, -35, 5)); … … 838 839 839 840 /* update tick the rest */ 840 this->trackManager->tick(this->dt);841 this->localCamera->tick(this->dt);841 // this->trackManager->tick(this->dt); 842 // this->localCamera->tick(this->dt); 842 843 this->garbageCollector->tick(seconds); 843 844
Note: See TracChangeset
for help on using the changeset viewer.