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/particle/particlelist.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/particle/particlelist.h')
-rw-r--r-- | src/particle/particlelist.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/particle/particlelist.h b/src/particle/particlelist.h index 3da542b37..6d27903cd 100644 --- a/src/particle/particlelist.h +++ b/src/particle/particlelist.h @@ -58,8 +58,12 @@ class ParticleList final : public ParticleContainer void moveTo(const float x, const float y) override final; + size_t size() const + { return mSize; } + protected: std::list<Particle *> mElements; /**< Contained particle effects */ + size_t mSize; }; #endif // PARTICLE_PARTICLELIST_H |