blob: 8bd7271e81ec7d4c0ef8fb6a9eb86068afa52bc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include "api/Script.h"
#include "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 = true;
float timescale = 1;
};
|