Changeset 8485 in orxonox.OLD for branches/script_engine/src/world_entities/script_trigger.h
- Timestamp:
- Jun 15, 2006, 5:33:25 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/script_engine/src/world_entities/script_trigger.h
r8408 r8485 22 22 /// DO WORK 23 23 virtual void tick(float timestep); 24 virtual void executeAction( );24 virtual void executeAction(float timestep); 25 25 void testScriptingFramework(); 26 26 … … 30 30 void setTriggerParent(const std::string& name); 31 31 void setCallOnce(const bool call) { this->callOnce = call; } 32 void setTriggerLasts(const bool lasts) { this->triggerLasts = lasts; } 33 void setInvert(const bool inv) { this->invert = invert; } 32 34 void setRadius(const float radius) { if(radius>0) this->radius = radius; } 33 35 void setDelay(const float time){if(delay>0) this->delay = delay; } 34 36 void setScript(const std::string& file); 35 void setFunction(const std::string& function){ this->functionName = function; 37 void setFunction(const std::string& function){ this->functionName = function;} 36 38 void setDebugDraw(const bool draw) { this->doDebugDraw = draw; } 37 39 … … 43 45 WorldEntity* target; 44 46 bool callOnce; 47 bool triggerLasts; 48 bool invert; 45 49 float radius; 46 50 float delay; … … 52 56 bool scriptCalled; 53 57 bool scriptIsOk; 58 bool actionFinished; 59 int returnCount; 54 60 55 61 };
Note: See TracChangeset
for help on using the changeset viewer.