Changeset 9686 in orxonox.OLD for branches/new_class_id/src/lib/script_engine
- Timestamp:
- Aug 22, 2006, 2:36:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/script_engine/script_class.h
r9685 r9686 30 30 31 31 bool operator==(const std::string& name) { return (this->getName() == name); } 32 bool operator==( ClassID classID) { return (this->_classID == classID); }32 bool operator==(NewClassID classID) { return (this->_classID == classID); } 33 33 34 34 virtual void registerClass(Script* script) = 0; … … 39 39 40 40 protected: 41 ScriptClass(const std::string& name, ClassID classID, ScriptMethod* scriptMethods);41 ScriptClass(const std::string& name, NewClassID classID, ScriptMethod* scriptMethods); 42 42 43 43 private: 44 ClassID_classID;44 const NewClassID& _classID; 45 45 ScriptMethod* _scriptMethods; 46 46 }; … … 53 53 { 54 54 public: 55 tScriptClass(const std::string& name, ClassID classID, ScriptMethod* scriptMethods)55 tScriptClass(const std::string& name, NewClassID classID, ScriptMethod* scriptMethods) 56 56 : ScriptClass(name, classID, scriptMethods) 57 57 { }
Note: See TracChangeset
for help on using the changeset viewer.