diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-13 18:04:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-13 18:04:01 +0300 |
commit | c676f4b880ed0abd644085e587e98e3f6ba1c16b (patch) | |
tree | a53167ffac4829da9903de9557126dc9206c9f3d /src/being/actorsprite.h | |
parent | bcf122e6d80e767bd4546b183f24b46cbbea65f1 (diff) | |
download | ManaVerse-c676f4b880ed0abd644085e587e98e3f6ba1c16b.tar.gz ManaVerse-c676f4b880ed0abd644085e587e98e3f6ba1c16b.tar.bz2 ManaVerse-c676f4b880ed0abd644085e587e98e3f6ba1c16b.tar.xz ManaVerse-c676f4b880ed0abd644085e587e98e3f6ba1c16b.zip |
Show particles amount in being popup.
Diffstat (limited to 'src/being/actorsprite.h')
-rw-r--r-- | src/being/actorsprite.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h index 1a32ceaf9..6f5c020c2 100644 --- a/src/being/actorsprite.h +++ b/src/being/actorsprite.h @@ -184,6 +184,12 @@ class ActorSprite notfinal : public CompoundSprite, public Actor virtual void stopCast(const bool b A_UNUSED) { } + size_t getParticlesCount() const + { + return mStatusParticleEffects.size() + + mChildParticleEffects.size(); + } + protected: /** * A status effect block is a 16 bit mask of status effects. We assign |