aboutsummaryrefslogtreecommitdiff
path: root/game/menus/mainmenu/ITransitionScript.h
blob: 9a2ef9086dd472d7f43464464446034fd47e5109 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <crepe/api/Script.h>

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;
};