aboutsummaryrefslogtreecommitdiff
path: root/TimeTravelCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'TimeTravelCommand.h')
-rw-r--r--TimeTravelCommand.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/TimeTravelCommand.h b/TimeTravelCommand.h
new file mode 100644
index 0000000..0a2de46
--- /dev/null
+++ b/TimeTravelCommand.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#include "Command.h"
+
+class TimeTravelCommand : public Command {
+ using Command::Command;
+
+public:
+ virtual void execute(long offset);
+ virtual void forwards();
+ virtual void backwards();
+
+private:
+ static constexpr long default_offset = 50;
+};
+