Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 5, 2006, 7:23:05 PM (19 years ago)
Author:
bensch
Message:

script_manager: should compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/script_engine/src/lib/script_engine/script_manager.h

    r8160 r8163  
    1919};
    2020
    21 class ScriptManager //: public BaseObject
     21class ScriptManager : public BaseObject
    2222{
    2323 public:
     
    2828
    2929  virtual void loadParams(const TiXmlElement* root);
    30   void setWorld(std::string& world){currentWorld = world;}
     30  void setWorld(const std::string& world) {currentWorld = world;}
    3131
    3232  void tick(float timestep);
     
    3838   void  init();
    3939   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);
    4242
    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);
    4545
    4646
Note: See TracChangeset for help on using the changeset viewer.