diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-31 23:42:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-31 23:42:39 +0300 |
commit | 52d9663b97db3dfc419e16f2d0ba50bba0a85d82 (patch) | |
tree | 983b8623bd284bef445647d596c984d21370cba3 /src/being/being.h | |
parent | 009c615d000bd45af6679694d2604a59e8122374 (diff) | |
download | plus-52d9663b97db3dfc419e16f2d0ba50bba0a85d82.tar.gz plus-52d9663b97db3dfc419e16f2d0ba50bba0a85d82.tar.bz2 plus-52d9663b97db3dfc419e16f2d0ba50bba0a85d82.tar.xz plus-52d9663b97db3dfc419e16f2d0ba50bba0a85d82.zip |
Show hp and max hp in being popup.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h index 6b805a3b6..c242d2e7e 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -746,6 +746,9 @@ class Being notfinal : public ActorSprite, int getHP() const restrict2 noexcept2 A_WARN_UNUSED { return mHP; } + int getMaxHP() const restrict2 noexcept2 A_WARN_UNUSED + { return mMaxHP; } + uint8_t calcDirection(const int dstX, const int dstY) const restrict2 A_WARN_UNUSED; |