Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 19, 2007, 11:45:56 AM (17 years ago)
Author:
snellen
Message:

Got nothing to do during the MTU lecture… so I finished the ActionTrigger

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/inputdevice/src/world_entities/script_triggers/action_trigger.h

    r10631 r10634  
    1212#include "script_class.h"
    1313#include "script_trigger.h"
     14#include "event_listener.h"
    1415
    15 class ActionTrigger : public ScriptTrigger
     16class ActionTrigger : public ScriptTrigger, public EventListener
    1617{
    1718  ObjectListDeclaration(ActionTrigger);
     
    2627
    2728    /// DO WORK
    28     virtual void executeAction(){actionScheduled = true;}
     29    virtual void process( const Event &event);
    2930    virtual void tick(float timestep);
    3031
Note: See TracChangeset for help on using the changeset viewer.