- Timestamp:
- Jun 3, 2006, 7:05:47 PM (18 years ago)
- Location:
- branches/script_engine/src/lib/script_engine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/script_engine/src/lib/script_engine/script_manager.cc
r8131 r8135 6 6 7 7 8 ScriptManager::ScriptManager(std::string world)8 ScriptManager::ScriptManager(std::string& world) 9 9 { 10 10 this->init(world); … … 20 20 //!< Fills the worldObject list 21 21 22 void ScriptManager::init(std::string world)22 void ScriptManager::init(std::string& world) 23 23 { 24 24 … … 40 40 } 41 41 42 void ScriptManager::changeWorld(std::string newWorld)42 void ScriptManager::changeWorld(std::string& newWorld) 43 43 { 44 44 } 45 45 46 46 47 void Script ::Manager::initScripts()47 void ScriptManager::initScripts() 48 48 { 49 49 } -
branches/script_engine/src/lib/script_engine/script_manager.h
r8131 r8135 21 21 { 22 22 public: 23 ScriptManager(std::string world)23 ScriptManager(std::string& world); 24 24 virtual ~ScriptManager(); 25 25 … … 28 28 virtual void tick(float timestep); 29 29 30 void changeWorld(std::string newWorld);30 void changeWorld(std::string& newWorld); 31 31 32 32 … … 34 34 35 35 private: 36 void init(std::string world);36 void init(std::string& world); 37 37 38 38 std::list<scriptableObject> objectList; //!< The list of all Objects in a world (read from the *.oxw file of the world)
Note: See TracChangeset
for help on using the changeset viewer.