blob: b40f7cced8fdb0fb4bef071b9aec8324b638ed20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include <crepe/api/Script.h>
#include <crepe/manager/SaveManager.h>
class SpeedScript : public crepe::Script {
public:
void init() override;
void fixed_update(crepe::duration_t dt) override;
private:
crepe::SaveManager * savemgr;
bool toggle = false;
float timescale = 1;
};
|