diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-25 15:28:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-25 15:30:08 +0300 |
commit | 2f9fa7415d501337a32111ef123f361cd6d01cab (patch) | |
tree | bff64eaa4f5db487187f6b604db9ce0317746a16 /src/resources/beinginfo.h | |
parent | 3e43345f804886a3a6ed7c0e378612612de4f4a5 (diff) | |
download | mv-2f9fa7415d501337a32111ef123f361cd6d01cab.tar.gz mv-2f9fa7415d501337a32111ef123f361cd6d01cab.tar.bz2 mv-2f9fa7415d501337a32111ef123f361cd6d01cab.tar.xz mv-2f9fa7415d501337a32111ef123f361cd6d01cab.zip |
add pet think time.
New pet db attribute: thinkTime
time in milliseconds.
also remove extra pet logic calls.
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r-- | src/resources/beinginfo.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h index 769f796f6..9e0e88112 100644 --- a/src/resources/beinginfo.h +++ b/src/resources/beinginfo.h @@ -260,6 +260,12 @@ class BeingInfo final int getSitOffsetY() const A_WARN_UNUSED { return mSitOffsetY; } + void setThinkTime(const int n) + { mThinkTime = n; } + + int getThinkTime() const A_WARN_UNUSED + { return mThinkTime; } + void setColorsList(const std::string &name); std::string getColor(const int idx) const A_WARN_UNUSED; @@ -296,6 +302,7 @@ class BeingInfo final int mWalkSpeed; int mSitOffsetX; int mSitOffsetY; + int mThinkTime; bool mStaticMaxHP; bool mTargetSelection; }; |