From 52d9663b97db3dfc419e16f2d0ba50bba0a85d82 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 31 Jul 2016 23:42:39 +0300 Subject: Show hp and max hp in being popup. --- src/being/being.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/being') 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; -- cgit v1.2.3-70-g09d2