Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

added tick trigger which always calles the script

File size: 440 bytes
Line 
1/*!
2 * @file space_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_class.h"
13#include "script_trigger.h"
14
15class TickTrigger : public ScriptTrigger
16{
17  ObjectListDeclaration(TickTrigger);
18 
19  public:
20    TickTrigger(const TiXmlElement* root = NULL);
21    ~TickTrigger();
22
23    /// DO WORK
24    virtual void tick(float timestep);
25
26};
27
28
29#endif
Note: See TracBrowser for help on using the repository browser.