summaryrefslogtreecommitdiff
path: root/src/koopatlas/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/koopatlas/player.h')
-rw-r--r--src/koopatlas/player.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/koopatlas/player.h b/src/koopatlas/player.h
index 074c72d..1fa07b5 100644
--- a/src/koopatlas/player.h
+++ b/src/koopatlas/player.h
@@ -33,6 +33,17 @@ class daWMPlayer_c : public dActor_c {
mEf::es2 effect;
dHammerSuitRenderer_c hammerSuit;
+ bool spinning;
+ s16 targetRotY;
+
+ void setTargetRotY(s16 value) {
+ targetRotY = value;
+ spinning = false;
+ }
+ void setSpinning() {
+ spinning = true;
+ }
+
mHeapAllocator_c allocator;
m3d::anmTexPat_c pats[4];
void bindPats();