aboutsummaryrefslogtreecommitdiff
path: root/ToggleMuseumPauseCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'ToggleMuseumPauseCommand.h')
-rw-r--r--ToggleMuseumPauseCommand.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/ToggleMuseumPauseCommand.h b/ToggleMuseumPauseCommand.h
index 40e0b24..0bfb27b 100644
--- a/ToggleMuseumPauseCommand.h
+++ b/ToggleMuseumPauseCommand.h
@@ -1,20 +1,12 @@
#pragma once
-#include "Command.h"
+#include "ControlBooleanCommand.h"
class Museum;
-class ToggleMuseumPauseCommand : public Command {
+class ToggleMuseumPauseCommand : public ControlBooleanCommand {
public:
ToggleMuseumPauseCommand(Museum & m);
ToggleMuseumPauseCommand(Museum & m, bool set);
-
-public:
- virtual void execute();
-
-private:
- Museum & museum;
- bool toggle = true;
- bool value;
};