Changeset 8163 in orxonox.OLD for branches/script_engine/src/lib/script_engine/script_manager.h
- Timestamp:
- Jun 5, 2006, 7:23:05 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/script_engine/src/lib/script_engine/script_manager.h
r8160 r8163 19 19 }; 20 20 21 class ScriptManager //: public BaseObject21 class ScriptManager : public BaseObject 22 22 { 23 23 public: … … 28 28 29 29 virtual void loadParams(const TiXmlElement* root); 30 void setWorld( std::string& world){currentWorld = world;}30 void setWorld(const std::string& world) {currentWorld = world;} 31 31 32 32 void tick(float timestep); … … 38 38 void init(); 39 39 void createScriptList(const TiXmlElement* scripts); 40 void setCurrentScriptFile( std::string& file);41 void addObjectToScript( std::string object, LuaScript& script);40 void setCurrentScriptFile(const std::string& file); 41 void addObjectToScript(const std::string object, LuaScript& script); 42 42 43 bool fileIsInScriptList( std::string& file);44 bool objectIsInObjectList( std::string& object,const LuaScript& script);43 bool fileIsInScriptList(const std::string& file); 44 bool objectIsInObjectList(const std::string& object, const LuaScript& script); 45 45 46 46
Note: See TracChangeset
for help on using the changeset viewer.