Changeset 9869 in orxonox.OLD for trunk/src/lib/script_engine/script_class.cc
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/script_engine/script_class.cc
r8711 r9869 19 19 #include <cassert> 20 20 21 ObjectListDefinition(ScriptClass); 21 22 /** 22 23 * @brief standard constructor 23 24 * @todo this constructor is not jet implemented - do it 24 25 */ 25 ScriptClass::ScriptClass(const std::string& name, ClassIDclassID, ScriptMethod* scriptMethods)26 : BaseObject(name) 26 ScriptClass::ScriptClass(const std::string& name, const ClassID& classID, ScriptMethod* scriptMethods) 27 : BaseObject(name), _classID(classID) 27 28 { 28 29 assert(scriptMethods != NULL); 29 this-> setClassID(CL_SCRIPT_CLASS, "ScriptClass");30 this->registerObject(this, ScriptClass::_objectList); 30 31 31 32 this->_classID = classID;
Note: See TracChangeset
for help on using the changeset viewer.