Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8135 in orxonox.OLD for branches


Ignore:
Timestamp:
Jun 3, 2006, 7:05:47 PM (18 years ago)
Author:
snellen
Message:

Continued working on script manager

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  
    66
    77
    8 ScriptManager::ScriptManager(std::string world)
     8ScriptManager::ScriptManager(std::string& world)
    99{
    1010  this->init(world);
     
    2020//!< Fills the worldObject list
    2121
    22 void ScriptManager::init(std::string world)
     22void ScriptManager::init(std::string& world)
    2323{
    2424
     
    4040}
    4141
    42 void ScriptManager::changeWorld(std::string newWorld)
     42void ScriptManager::changeWorld(std::string& newWorld)
    4343{
    4444}
    4545
    4646
    47 void Script::Manager::initScripts()
     47void ScriptManager::initScripts()
    4848{
    4949}
  • branches/script_engine/src/lib/script_engine/script_manager.h

    r8131 r8135  
    2121{
    2222 public:
    23   ScriptManager(std::string world)
     23   ScriptManager(std::string& world);
    2424  virtual ~ScriptManager();
    2525
     
    2828  virtual void tick(float timestep);
    2929
    30   void changeWorld(std::string newWorld);
     30  void changeWorld(std::string& newWorld);
    3131
    3232
     
    3434
    3535 private:
    36    void  init(std::string world);
     36   void  init(std::string& world);
    3737
    3838   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.