Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9869 in orxonox.OLD for trunk/src/lib/script_engine/script_class.cc


Ignore:
Timestamp:
Oct 3, 2006, 12:19:30 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/script_engine/script_class.cc

    r8711 r9869  
    1919#include <cassert>
    2020
     21ObjectListDefinition(ScriptClass);
    2122/**
    2223 * @brief standard constructor
    2324 * @todo this constructor is not jet implemented - do it
    2425*/
    25 ScriptClass::ScriptClass(const std::string& name, ClassID classID, ScriptMethod* scriptMethods)
    26     : BaseObject(name)
     26ScriptClass::ScriptClass(const std::string& name, const ClassID& classID, ScriptMethod* scriptMethods)
     27    : BaseObject(name), _classID(classID)
    2728{
    2829  assert(scriptMethods != NULL);
    29   this->setClassID(CL_SCRIPT_CLASS, "ScriptClass");
     30  this->registerObject(this, ScriptClass::_objectList);
    3031
    3132  this->_classID = classID;
Note: See TracChangeset for help on using the changeset viewer.