Changeset 10621 in orxonox.OLD for branches/scriptimprovements/src/world_entities/script_triggers/time_trigger.cc
- Timestamp:
- Apr 5, 2007, 6:16:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/scriptimprovements/src/world_entities/script_triggers/time_trigger.cc
r10620 r10621 76 76 } 77 77 78 /** 79 * Reads the values from the tml element and sets them. 80 * @param root the xml element to load the parameters from. 81 * 82 */ 83 void TimeTrigger::loadParams(const TiXmlElement* root) 84 { 85 86 ScriptTrigger ::loadParams(root); 87 88 LoadParam(root, "delay", this, TimeTrigger, setDelay) 89 .describe("the time after wich the timer is activated") 90 .defaultValues(0); 91 92 } 78 93 79 94 void TimeTrigger::tick(float timestep)
Note: See TracChangeset
for help on using the changeset viewer.