Changeset 10611 in orxonox.OLD for branches/scriptimprovements/src/lib
- Timestamp:
- Mar 29, 2007, 9:16:43 PM (18 years ago)
- Location:
- branches/scriptimprovements/src/lib/script_engine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/scriptimprovements/src/lib/script_engine/script.cc
r10584 r10611 407 407 408 408 //this->registerClass(std::string("Vector")); 409 this->registerClass("ScriptTrigger"); 409 this->registerClass("SpaceTrigger"); 410 this->registerClass("TickTrigger"); 410 411 // this->registerClass("AttractorMine"); 411 412 -
branches/scriptimprovements/src/lib/script_engine/script_manager.cc
r10606 r10611 28 28 #include "luaincl.h" 29 29 #include "loading/load_param_xml.h" 30 #include "util/loading/factory.h" 30 31 31 32 … … 85 86 void ScriptManager::createTriggers(const TiXmlElement* triggers) 86 87 { 88 87 89 LOAD_PARAM_START_CYCLE(triggers, object); 88 90 { 89 new ScriptTrigger(object); 91 Factory::fabricate(object); 92 // new ScriptTrigger(object); 90 93 } 91 94 LOAD_PARAM_END_CYCLE(object);
Note: See TracChangeset
for help on using the changeset viewer.