aboutsummaryrefslogtreecommitdiff
path: root/game/menus/mainmenu/ITransitionScript.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/menus/mainmenu/ITransitionScript.h')
-rw-r--r--game/menus/mainmenu/ITransitionScript.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/game/menus/mainmenu/ITransitionScript.h b/game/menus/mainmenu/ITransitionScript.h
index 78f1016..9a2ef90 100644
--- a/game/menus/mainmenu/ITransitionScript.h
+++ b/game/menus/mainmenu/ITransitionScript.h
@@ -5,9 +5,11 @@
class ITransitionScript : public virtual crepe::Script {
public:
void frame_update(crepe::duration_t delta_time) override;
- virtual const char* get_scene_name() const = 0;
+ virtual const char * get_scene_name() const = 0;
+
private:
float velocity = 20;
+
protected:
bool transition = false;
};