Changeset 9709 in orxonox.OLD for branches/new_class_id/src/story_entities/single_player_world.cc
- Timestamp:
- Aug 31, 2006, 10:51:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/story_entities/single_player_world.cc
r9406 r9709 20 20 21 21 #include "state.h" 22 #include "class_list.h"23 22 24 23 #include "util/loading/load_param.h" 25 #include " fast_factory.h"24 #include "loading/fast_factory.h" 26 25 #include "util/loading/factory.h" 27 26 … … 30 29 31 30 32 33 34 31 #include "class_id.h" 35 32 //! This creates a Factory to fabricate a SinglePlayerWorld 36 CREATE_FACTORY(SinglePlayerWorld, CL_SINGLE_PLAYER_WORLD); 37 38 33 NewObjectListDefinitionID(SinglePlayerWorld, CL_SINGLE_PLAYER_WORLD); 34 CREATE_FACTORY(SinglePlayerWorld); 39 35 40 36 SinglePlayerWorld::SinglePlayerWorld(const TiXmlElement* root) 41 37 : GameWorld() 42 38 { 43 this-> setClassID(CL_SINGLE_PLAYER_WORLD, "SinglePlayerWorld");39 this->registerObject(this, SinglePlayerWorld::_objectList); 44 40 this->setName("SinglePlayerWorld uninitialized"); 45 41
Note: See TracChangeset
for help on using the changeset viewer.