From 07615060da6c211e08a3d7f2e1bb9e99ffc05364 Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Mon, 6 Jan 2025 17:49:39 +0100 Subject: moved and updated files --- game/menus/mainmenu/ITransitionScript.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 game/menus/mainmenu/ITransitionScript.h (limited to 'game/menus/mainmenu/ITransitionScript.h') diff --git a/game/menus/mainmenu/ITransitionScript.h b/game/menus/mainmenu/ITransitionScript.h new file mode 100644 index 0000000..78f1016 --- /dev/null +++ b/game/menus/mainmenu/ITransitionScript.h @@ -0,0 +1,13 @@ +#pragma once + +#include + +class ITransitionScript : public virtual crepe::Script { +public: + void frame_update(crepe::duration_t delta_time) override; + virtual const char* get_scene_name() const = 0; +private: + float velocity = 20; +protected: + bool transition = false; +}; -- cgit v1.2.3