aboutsummaryrefslogtreecommitdiff
path: root/game/mainmenu/ShowStartScript.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-23 21:17:45 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-23 21:17:45 +0100
commit225e873c8ac9c4c08720a69b8f2c817d22cf0071 (patch)
tree20c1539a7ea7d133fca143e922165fd7533c87fe /game/mainmenu/ShowStartScript.h
parenta3097a20daaf58e4e3852bfb36315dc5e14d3e52 (diff)
made script reusable to switch scenes
Diffstat (limited to 'game/mainmenu/ShowStartScript.h')
-rw-r--r--game/mainmenu/ShowStartScript.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/game/mainmenu/ShowStartScript.h b/game/mainmenu/ShowStartScript.h
new file mode 100644
index 0000000..4d8d894
--- /dev/null
+++ b/game/mainmenu/ShowStartScript.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include "ShowScript.h"
+
+class ShowStartScript : public ShowScript {
+public:
+ void init() override;
+ void fixed_update(crepe::duration_t dt) override;
+ const char* get_scene_name() const override;
+};