summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index 1d5ca7c19..1dc2fd8f8 100644
--- a/src/being.h
+++ b/src/being.h
@@ -452,6 +452,12 @@ class Being : public ActorSprite, public ConfigListener
*/
virtual void setDirection(Uint8 direction);
+ virtual void setDirectionDelayed(Uint8 direction)
+ { mDirectionDelayed = direction; }
+
+ Uint8 getDirectionDelayed()
+ { return mDirectionDelayed; }
+
/**
* Returns the direction the being is facing.
*/
@@ -677,6 +683,8 @@ class Being : public ActorSprite, public ConfigListener
Uint16 mSubType; /**< Subtype (graphical view, basically) */
Uint8 mDirection; /**< Facing direction */
+ Uint8 mDirectionDelayed; /**< Facing direction */
+
Uint8 mSpriteDirection; /**< Facing direction */
std::string mName; /**< Name of character */
std::string mPartyName;