Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 30, 2007, 11:35:30 AM (18 years ago)
Author:
snellen
Message:

addToScript schould work now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/scriptimprovements/src/world_entities/script_triggers/script_trigger.h

    r10611 r10614  
    1111#include "world_entity.h"
    1212#include "loading/load_param.h"
    13 #include "vector.h"
    1413#include "script_manager.h"
    1514#include "script.h"
    16 #include "script_class.h"
     15
    1716
    1817class ScriptTrigger : public WorldEntity
     
    2827
    2928    /// DO WORK
    30     virtual void tick(float timestep){}
     29    virtual void tick(float timestep) = 0;
    3130    virtual void executeAction(float timestep);
    3231    void testScriptingFramework();
     
    4847    std::string  functionName;
    4948    bool         doDebugDraw;
    50     bool         addToScript;
     49   
    5150   
    5251    //for internal use
     
    5958    bool         scriptIsOk;
    6059    bool         scriptFinished;
     60    bool         addToScript;
    6161
    6262};
Note: See TracChangeset for help on using the changeset viewer.