diff options
Diffstat (limited to 'engines/mutationofjb/commands/command.h')
-rw-r--r-- | engines/mutationofjb/commands/command.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/engines/mutationofjb/commands/command.h b/engines/mutationofjb/commands/command.h index 1303242fb5..0133d52dd0 100644 --- a/engines/mutationofjb/commands/command.h +++ b/engines/mutationofjb/commands/command.h @@ -29,12 +29,9 @@ class String; namespace MutationOfJB { -class GameData; -class SeqCommand; -class IfCommand; -class CallMacroCommand; -class ScriptParseContext; class Command; +class ScriptExecutionContext; +class ScriptParseContext; class CommandParser { public: @@ -58,10 +55,9 @@ public: virtual ~Command(); - virtual ExecuteResult execute(GameData &gameData) = 0; + virtual ExecuteResult execute(ScriptExecutionContext &scriptExecCtx) = 0; virtual Command *next() const = 0; - virtual SeqCommand *asSeqCommand(); virtual Common::String debugString() const = 0; }; } |