aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerScript.h
diff options
context:
space:
mode:
authorMax-001 <maxsmits21@kpnmail.nl>2024-12-24 10:52:36 +0100
committerMax-001 <maxsmits21@kpnmail.nl>2024-12-24 10:52:36 +0100
commit8f8d579389303184038addc77c1acffdb2081f91 (patch)
tree0fa5cdf7b217a4d499355df62220d034d62570a2 /game/player/PlayerScript.h
parent0bfc194d2c31d111ad438c040d4b0b74238d4ef6 (diff)
Added correct animations
Diffstat (limited to 'game/player/PlayerScript.h')
-rw-r--r--game/player/PlayerScript.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/game/player/PlayerScript.h b/game/player/PlayerScript.h
index 84c4f7f..dfd02eb 100644
--- a/game/player/PlayerScript.h
+++ b/game/player/PlayerScript.h
@@ -5,4 +5,7 @@
class PlayerScript : public crepe::Script {
public:
void fixed_update(crepe::duration_t dt);
+
+private:
+ int prev_anim = 0;
};