diff options
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h index 1cfac80f..6cc0575f 100644 --- a/src/being.h +++ b/src/being.h @@ -274,6 +274,9 @@ class Being : public ActorSprite, public EventListener void setSpriteColor(unsigned slot, const std::string &color = std::string()); + unsigned getSpriteCount() const + { return mSpriteStates.size(); } + bool drawnWhenBehind() const override; /** |