Changeset 8305 in orxonox.OLD for branches/script_engine/src/world_entities
- Timestamp:
- Jun 10, 2006, 9:01:06 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/script_engine/src/world_entities/script_trigger.h
r8304 r8305 34 34 void setScript(const std::string& file); 35 35 void setFunction(const std::string& function){ this->functionName = function; } 36 void setDebugDraw(const bool draw) { this->d ebugDraw = draw; }36 void setDebugDraw(const bool draw) { this->doDebugDraw = draw; } 37 37 38 38 ///DRAWING 39 void draw()const{if(d ebugDraw)this->debugDraw();};39 void draw()const{if(doDebugDraw)this->debugDraw();}; 40 40 41 41 private: … … 47 47 Script* script; 48 48 std::string functionName; 49 bool d ebugDraw;49 bool doDebugDraw; 50 50 51 51 //for internal use
Note: See TracChangeset
for help on using the changeset viewer.