From 3672ea55720666acfd64b6df01b35d0727d6be78 Mon Sep 17 00:00:00 2001 From: Ľubomír Remák Date: Sun, 25 Feb 2018 04:14:32 +0100 Subject: MUTATIONOFJB: Continue implementation of if/else script commands. --- engines/mutationofjb/commands/ifcommand.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/mutationofjb/commands/ifcommand.h') diff --git a/engines/mutationofjb/commands/ifcommand.h b/engines/mutationofjb/commands/ifcommand.h index d33f34ffb0..290260be93 100644 --- a/engines/mutationofjb/commands/ifcommand.h +++ b/engines/mutationofjb/commands/ifcommand.h @@ -30,6 +30,12 @@ namespace MutationOfJB { class ScriptParseContext; +class IfCommandParser : public CommandParser { +public: + virtual bool parse(const Common::String &line, ScriptParseContext &parseCtx, Command *&command); + virtual void transition(ScriptParseContext &parseCtx, Command *oldCommand, Command *newCommand); +}; + class IfCommand : public ConditionalCommand { public: static bool ParseFunc(const Common::String &line, ScriptParseContext &parseContext, Command *&command); -- cgit v1.2.3