Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9709 in orxonox.OLD for branches/new_class_id/src/lib/script_engine


Ignore:
Timestamp:
Aug 31, 2006, 10:51:08 PM (18 years ago)
Author:
bensch
Message:

orxonox/branches/new_class_id: new_class ID working, adapdet many classes, and reinvented some of the ClassID stuff

Location:
branches/new_class_id/src/lib/script_engine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/script_engine/script.cc

    r9699 r9709  
    2222#include "loading/load_param.h"
    2323#include "parser/tinyxml/tinyxml.h"
     24
     25NewObjectListDefinition(Script);
    2426
    2527CREATE_SCRIPTABLE_CLASS(Script, Script::classID(),
     
    3032                     );
    3133
    32 NewObjectListDefinition(Script);
    3334
    3435Script::Script(const TiXmlElement* root)
  • branches/new_class_id/src/lib/script_engine/script_class.h

    r9699 r9709  
    2929public:
    3030  virtual ~ScriptClass();
    31 
    32   const std::string& getName() const { return this->getName(); }
    33   bool operator==(const std::string& name) const { return (this->getName() == name); }
    34   bool operator==(NewClassID classID) const { return (this->_classID == classID); }
    3531
    3632  virtual void registerClass(Script* script) = 0;
Note: See TracChangeset for help on using the changeset viewer.