Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8305 in orxonox.OLD for branches/script_engine/src/world_entities


Ignore:
Timestamp:
Jun 10, 2006, 9:01:06 AM (18 years ago)
Author:
snellen
Message:

fixed compilation problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/script_engine/src/world_entities/script_trigger.h

    r8304 r8305  
    3434    void setScript(const std::string& file);
    3535    void setFunction(const std::string& function){ this->functionName = function; }
    36     void setDebugDraw(const bool draw) { this->debugDraw = draw; }
     36    void setDebugDraw(const bool draw) { this->doDebugDraw = draw; }
    3737
    3838    ///DRAWING
    39     void draw()const{if(debugDraw)this->debugDraw();};
     39    void draw()const{if(doDebugDraw)this->debugDraw();};
    4040
    4141  private:
     
    4747    Script*      script;
    4848    std::string  functionName;
    49     bool         debugDraw;
     49    bool         doDebugDraw;
    5050
    5151    //for internal use
Note: See TracChangeset for help on using the changeset viewer.