Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 24, 2007, 7:15:34 PM (18 years ago)
Author:
snellen
Message:

object name in orxonox and in the script can now be handled seperately

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/scriptchanges.new/src/lib/script_engine/script_class.cc

    r9916 r10350  
    2525CREATE_SCRIPTABLE_CLASS(Script,
    2626                    addMethod("addObject", Executor2<Script, lua_State*,const std::string&, const std::string& >(&Script::addObject))
     27                    ->addMethod("addObjectAsName", Executor3<Script, lua_State*,const std::string&, const std::string&, const std::string& >(&Script::addObjectAsName))
    2728                    ->addMethod("registerClass", Executor1<Script, lua_State*,const std::string&>(&Script::registerClass))
    2829                    ->addMethod("selectFunction", Executor2ret<Script, lua_State*, bool, const std::string&, int >(&Script::selectFunction))
Note: See TracChangeset for help on using the changeset viewer.