aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/commands/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mutationofjb/commands/command.h')
-rw-r--r--engines/mutationofjb/commands/command.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/mutationofjb/commands/command.h b/engines/mutationofjb/commands/command.h
index f8c160e3cb..ccfdea25f0 100644
--- a/engines/mutationofjb/commands/command.h
+++ b/engines/mutationofjb/commands/command.h
@@ -42,7 +42,7 @@ public:
virtual bool parse(const Common::String &line, ScriptParseContext &parseCtx, Command *&command) = 0;
/* Old command - created by this parser. */
- virtual void transition(ScriptParseContext &parseCtx, Command *oldCommand, Command *newCommand);
+ virtual void transition(ScriptParseContext &parseCtx, Command *oldCommand, Command *newCommand, CommandParser *newCommandParser);
};
class Command {
@@ -59,6 +59,7 @@ public:
virtual Command *next() const = 0;
virtual SeqCommand *asSeqCommand();
+ virtual Common::String debugString() const = 0;
};
}