Changeset 4829 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Jul 9, 2005, 1:11:08 AM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r4827 r4829 222 222 //strcpy(this->worldName, name); 223 223 this->debugWorldNr = worldID; 224 State::setWorldEntityList(this->entities = new tList<WorldEntity>());225 this->cycle = 0;226 227 224 } 228 225 … … 255 252 ErrorMessage World::preLoad() 256 253 { 254 State::setWorldEntityList(this->entities = new tList<WorldEntity>()); 255 this->cycle = 0; 256 257 257 258 /* init the world interface */ 258 259 WorldInterface* wi = WorldInterface::getInstance(); -
orxonox/trunk/src/world_entities/weapons/test_gun.cc
r4758 r4829 23 23 #include "test_gun.h" 24 24 25 #include "stdincl.h"26 25 #include "world_entity.h" 27 26 #include "model.h" 28 27 #include "test_bullet.h" 29 28 29 #include "state.h" 30 30 #include "vector.h" 31 31 #include "list.h" … … 157 157 pj->setAbsDir(this->getAbsDir()); 158 158 pj->setVelocity(this->getVelocity()); 159 this->worldEntities->add(pj);159 State::getWorldEntityList()->add(pj); 160 160 this->localTime = 0; 161 161
Note: See TracChangeset
for help on using the changeset viewer.