Changeset 9195 in orxonox.OLD for branches/presentation/src/lib/script_engine/script.h
- Timestamp:
- Jul 5, 2006, 9:29:01 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/lib/script_engine/script.h
r9061 r9195 32 32 bool loadFile(const std::string& filename); 33 33 void addObject( const std::string& className,const std::string& objectName); 34 void registerClass(const std::string& className); //!< Register a class but dont add any instances 34 35 35 36 /// QUERRYING … … 64 65 int reportError(int error); //!< Get errormessage from the lua stack and print it. 65 66 bool registerStandartClasses(); //!< Register all the classes that the script might need 66 bool registerClass(const std::string& className); //!< Register a class but dont add any instances67 67 bool classIsRegistered(const std::string& type); //!< Checks wheter the class "type" has already been registered with the script 68 68 bool objectIsAdded(const std::string& name); //!< Checks wheter the object "name" has already been added to the script
Note: See TracChangeset
for help on using the changeset viewer.