diff options
Diffstat (limited to 'engines/macventure/script.h')
-rw-r--r-- | engines/macventure/script.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/engines/macventure/script.h b/engines/macventure/script.h index 66376924b0..9814c01ad4 100644 --- a/engines/macventure/script.h +++ b/engines/macventure/script.h @@ -24,6 +24,7 @@ #define MACVENTURE_SCRIPT_H #include "macventure/macventure.h" +#include "macventure/container.h" namespace MacVenture { @@ -47,7 +48,28 @@ enum ControlAction { }; typedef uint32 ObjID; - + +class ScriptAsset { +public: + ScriptAsset(ObjID id, Container *container, MacVentureEngine *engine) { + _id = id; + _container = container; + _engine = engine; + } + ~ScriptAsset() { + + } + + void execute() { + debug("SCRIPT: Executing script %x ", _id); + } + +private: + ObjID _id; + Container *_container; + MacVentureEngine *_engine; +}; + class ScriptEngine { public: ScriptEngine() {} |