aboutsummaryrefslogtreecommitdiff
path: root/MuseumPauseCommand.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-15 13:00:25 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-15 13:00:25 +0200
commit5a62972ec9e8b288e90a90450d338a2c0c1176be (patch)
tree526bea45e31e01f279f4ef11bcb0a2854efc95be /MuseumPauseCommand.h
parenta3eb81cc6b70c03fb40ac4dcd140d5f3ad241ceb (diff)
implement pause command
Diffstat (limited to 'MuseumPauseCommand.h')
-rw-r--r--MuseumPauseCommand.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/MuseumPauseCommand.h b/MuseumPauseCommand.h
new file mode 100644
index 0000000..442a22a
--- /dev/null
+++ b/MuseumPauseCommand.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "Command.h"
+
+class MuseumPauseCommand : public Command {
+ using Command::Command;
+
+public:
+ virtual void toggle();
+ virtual void set(bool paused);
+};
+