Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 10, 2014, 1:19:01 PM (11 years ago)
Author:
samuezu
Message:

created scriptcontroller header and *.cc file

Location:
code/branches/ScriptableController/src/orxonox/controllers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ScriptableController/src/orxonox/controllers/ScriptController.cc

    r10020 r10025  
    4040    }
    4141
    42     void set_luasrc(string lsrc)
     42    void set_luasrc(std::string lsrc)
    4343    {
    4444        this->luasrc=lsrc;
    4545    }
    4646
    47     void set_controlled(&ControllableEntity toControl)
     47    void set_controlled(*ControllableEntity toControl)
    4848    {
    4949        this->controlled=toControl;
  • code/branches/ScriptableController/src/orxonox/controllers/ScriptController.h

    r10020 r10025  
    4646           
    4747           
    48             void set_luasrc(string);
     48            void set_luasrc(std::string);
    4949
    50             void set_controlled(&ControllableEntity);
     50            void set_controlled(*ControllableEntity);
    5151
    5252            void moveToPosition(const Vector3& target);
     
    6262
    6363        private:
    64                 string luasrc;          // name of the LUA-sourcefile that shall be executed->see XMLPort-function
     64                std::string luasrc;             // name of the LUA-sourcefile that shall be executed->see XMLPort-function
    6565
    6666            ControllableEntity* controlled; //entity controlled by this SC
Note: See TracChangeset for help on using the changeset viewer.