Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/scriptimprovements/src/world_entities/script_triggers/tick_trigger.h @ 10620

Last change on this file since 10620 was 10620, checked in by snellen, 17 years ago

added and tested a new kind of trigger: the time trigger

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
14class 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.