Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarHumanoid.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarHumanoid.hpp')
-rw-r--r--source/game/StarHumanoid.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/game/StarHumanoid.hpp b/source/game/StarHumanoid.hpp
index dc4f3d9..a3e9d19 100644
--- a/source/game/StarHumanoid.hpp
+++ b/source/game/StarHumanoid.hpp
@@ -178,6 +178,7 @@ public:
void setFacingDirection(Direction facingDirection);
void setMovingBackwards(bool movingBackwards);
void setHeadRotation(float headRotation);
+ void setBackRotatesWithHead(bool backRotatesWithHead);
void setRotation(float rotation);
void setScale(Vec2F scale);
@@ -382,6 +383,7 @@ private:
Maybe<String> m_dance;
Direction m_facingDirection;
bool m_movingBackwards;
+ bool m_backRotatesWithHead;
float m_headRotation;
float m_headRotationTarget;
float m_rotation;