aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/commands/ifcommand.h
diff options
context:
space:
mode:
authorĽubomír Remák2018-02-25 04:14:32 +0100
committerEugene Sandulenko2018-08-25 23:12:01 +0200
commit3672ea55720666acfd64b6df01b35d0727d6be78 (patch)
tree58e77efe67e9381c788c30d1e75b518a984c2020 /engines/mutationofjb/commands/ifcommand.h
parentf7d5a825a053199ddbf4d7c564e84e9f9709d958 (diff)
downloadscummvm-rg350-3672ea55720666acfd64b6df01b35d0727d6be78.tar.gz
scummvm-rg350-3672ea55720666acfd64b6df01b35d0727d6be78.tar.bz2
scummvm-rg350-3672ea55720666acfd64b6df01b35d0727d6be78.zip
MUTATIONOFJB: Continue implementation of if/else script commands.
Diffstat (limited to 'engines/mutationofjb/commands/ifcommand.h')
-rw-r--r--engines/mutationofjb/commands/ifcommand.h6
1 files changed, 6 insertions, 0 deletions
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);