blob: 78f1016bb18d7cd67da012eff0dd11b3a74de610 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#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;
};
|