aboutsummaryrefslogtreecommitdiff
path: root/game/menus/mainmenu/ButtonTransitionPreviewSubScript.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-07 22:07:32 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-07 22:07:32 +0100
commitf2028cd4def82f5f6a52392ff011f6d0fa4aa315 (patch)
tree149f7ff853c22cc5d7ce5f2917fbc277fa419b33 /game/menus/mainmenu/ButtonTransitionPreviewSubScript.h
parent055ca804ebe27ea77f1c09079f119a0526426e70 (diff)
correct naming
Diffstat (limited to 'game/menus/mainmenu/ButtonTransitionPreviewSubScript.h')
-rw-r--r--game/menus/mainmenu/ButtonTransitionPreviewSubScript.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/game/menus/mainmenu/ButtonTransitionPreviewSubScript.h b/game/menus/mainmenu/ButtonTransitionPreviewSubScript.h
new file mode 100644
index 0000000..6e6b0b2
--- /dev/null
+++ b/game/menus/mainmenu/ButtonTransitionPreviewSubScript.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "ITransitionScript.h"
+
+#include "../IButtonScript.h"
+
+class ButtonTransitionPreviewSubScript : public ITransitionScript, public IButtonScript {
+public:
+ void init() override;
+ bool on_button_press(const crepe::ButtonPressEvent& e);
+ const char* get_scene_name() const override;
+};