aboutsummaryrefslogtreecommitdiff
path: root/game/hud/SpeedScript.h
blob: 76ada4f8cb3fbc5231b119884ca75e59e6b0d95c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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;
};