diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-23 21:17:45 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-23 21:17:45 +0100 |
commit | 225e873c8ac9c4c08720a69b8f2c817d22cf0071 (patch) | |
tree | 20c1539a7ea7d133fca143e922165fd7533c87fe /game/mainmenu/ShowStartScript.h | |
parent | a3097a20daaf58e4e3852bfb36315dc5e14d3e52 (diff) |
made script reusable to switch scenes
Diffstat (limited to 'game/mainmenu/ShowStartScript.h')
-rw-r--r-- | game/mainmenu/ShowStartScript.h | 10 |
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; +}; |