aboutsummaryrefslogtreecommitdiff
path: root/game/mainmenu/ButtonTransitionPreviewScript.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-28 12:36:26 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-28 12:36:26 +0100
commit6a3063e6012bae44457b668ce48c48b8af90a95d (patch)
tree98d676fbda6bb1851e5efdaa10d97fcbf84ed837 /game/mainmenu/ButtonTransitionPreviewScript.h
parentdeb1cd4732fb3a880cd10ce677e62fc2aac974a0 (diff)
improved naming
Diffstat (limited to 'game/mainmenu/ButtonTransitionPreviewScript.h')
-rw-r--r--game/mainmenu/ButtonTransitionPreviewScript.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/game/mainmenu/ButtonTransitionPreviewScript.h b/game/mainmenu/ButtonTransitionPreviewScript.h
new file mode 100644
index 0000000..4e5e6c9
--- /dev/null
+++ b/game/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;
+};