aboutsummaryrefslogtreecommitdiff
path: root/game/menus/ButtonNextMainMenuSubScript.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/menus/ButtonNextMainMenuSubScript.h')
-rw-r--r--game/menus/ButtonNextMainMenuSubScript.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/game/menus/ButtonNextMainMenuSubScript.h b/game/menus/ButtonNextMainMenuSubScript.h
new file mode 100644
index 0000000..3bc3f52
--- /dev/null
+++ b/game/menus/ButtonNextMainMenuSubScript.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "IButtonScript.h"
+
+#include <crepe/api/Script.h>
+
+class ButtonNextMainMenuSubScript : public IButtonScript {
+public:
+ void init() override;
+ bool on_button_press(const crepe::ButtonPressEvent & e);
+
+protected:
+ bool transition = false;
+};