summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r--src/resources/beinginfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h
index a752898f8..556088380 100644
--- a/src/resources/beinginfo.h
+++ b/src/resources/beinginfo.h
@@ -236,6 +236,12 @@ class BeingInfo final
int getFollowDist()
{ return mFollowDist; }
+ void setWalkSpeed(const int n)
+ { mWalkSpeed = n; }
+
+ int getWalkSpeed()
+ { return mWalkSpeed; }
+
void setColorsList(const std::string &name);
std::string getColor(const int idx) const;
@@ -268,6 +274,7 @@ class BeingInfo final
int mHeight;
int mStartFollowDist;
int mFollowDist;
+ int mWalkSpeed;
bool mStaticMaxHP;
bool mTargetSelection;
};