aboutsummaryrefslogtreecommitdiff
path: root/TimeTravelCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'TimeTravelCommand.h')
-rw-r--r--TimeTravelCommand.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/TimeTravelCommand.h b/TimeTravelCommand.h
index 7803134..359e63e 100644
--- a/TimeTravelCommand.h
+++ b/TimeTravelCommand.h
@@ -2,11 +2,17 @@
#include "Command.h"
+class Museum;
+
class TimeTravelCommand : public Command {
- using Command::Command;
+public:
+ TimeTravelCommand(Museum & m, bool forwards = false);
public:
- virtual void forwards();
- virtual void backwards();
+ virtual void execute();
+
+private:
+ Museum & museum;
+ bool forwards;
};