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