aboutsummaryrefslogtreecommitdiff
path: root/game/menus/mainmenu/ButtonTransitionPreviewScript.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/menus/mainmenu/ButtonTransitionPreviewScript.h')
-rw-r--r--game/menus/mainmenu/ButtonTransitionPreviewScript.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/game/menus/mainmenu/ButtonTransitionPreviewScript.h b/game/menus/mainmenu/ButtonTransitionPreviewScript.h
new file mode 100644
index 0000000..26a778a
--- /dev/null
+++ b/game/menus/mainmenu/ButtonTransitionPreviewScript.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include "../IButtonScript.h"
+#include "ITransitionScript.h"
+
+class ButtonTransitionPreviewScript : public ITransitionScript, public IButtonScript {
+public:
+ void init() override;
+ bool on_button_press(const crepe::ButtonPressEvent& e);
+ const char* get_scene_name() const override;
+};