aboutsummaryrefslogtreecommitdiff
path: root/game/hud/SpeedScript.h
blob: 6c15a89eace12fa4d5eeb152d9d9afed643b9932 (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 = true;
	float timescale = 1;
};