aboutsummaryrefslogtreecommitdiff
path: root/game/mainmenu/ShowPreviewScript.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/mainmenu/ShowPreviewScript.h')
-rw-r--r--game/mainmenu/ShowPreviewScript.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/game/mainmenu/ShowPreviewScript.h b/game/mainmenu/ShowPreviewScript.h
new file mode 100644
index 0000000..9612ca5
--- /dev/null
+++ b/game/mainmenu/ShowPreviewScript.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "ShowScript.h"
+
+class ShowPreviewScript : public ShowScript {
+public:
+ void init() override;
+ bool on_button_press(const crepe::ButtonPressEvent& e);
+ bool on_button_enter(const crepe::ButtonEnterEvent& e);
+ bool on_button_exit(const crepe::ButtonExitEvent& e);
+ const char* get_scene_name() const override;
+};