Last change
on this file since 10657 was
10622,
checked in by snellen, 18 years ago
|
merged scriptimprovements back to trunk
|
File size:
413 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file tick_trigger.h |
---|
3 | * always triggeres a script |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _TICK_TRIGGER_H |
---|
7 | #define _TICK_TRIGGER_H |
---|
8 | |
---|
9 | #include <string> |
---|
10 | |
---|
11 | #include "script.h" |
---|
12 | #include "script_trigger.h" |
---|
13 | |
---|
14 | class TickTrigger : public ScriptTrigger |
---|
15 | { |
---|
16 | ObjectListDeclaration(TickTrigger); |
---|
17 | |
---|
18 | public: |
---|
19 | TickTrigger(const TiXmlElement* root = NULL); |
---|
20 | ~TickTrigger(); |
---|
21 | |
---|
22 | /// DO WORK |
---|
23 | virtual void tick(float timestep); |
---|
24 | |
---|
25 | }; |
---|
26 | |
---|
27 | |
---|
28 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.