diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-05 16:36:38 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-05 16:36:38 +0100 |
commit | 2726785d64aa117aff0791d4591046c442709aac (patch) | |
tree | ce5b7d2fb240e87597d70e1f1be544e9672212e3 /game/hud/SpeedScript.h | |
parent | ba170d00586ab261e015cc2febbb43f9aa7ae43e (diff) |
improved hud
Diffstat (limited to 'game/hud/SpeedScript.h')
-rw-r--r-- | game/hud/SpeedScript.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/game/hud/SpeedScript.h b/game/hud/SpeedScript.h new file mode 100644 index 0000000..1cc4368 --- /dev/null +++ b/game/hud/SpeedScript.h @@ -0,0 +1,13 @@ +#pragma once + +#include "api/Script.h" +#include "manager/SaveManager.h" + +class SpeedScript : public crepe::Script { +public: + void fixed_update(crepe::duration_t dt) override; +private: + crepe::SaveManager* savemgr; + bool toggle = true; + float timescale = 1; +}; |