From c676f4b880ed0abd644085e587e98e3f6ba1c16b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 13 Jul 2016 18:04:01 +0300 Subject: Show particles amount in being popup. --- src/particle/particlelist.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/particle/particlelist.h') 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 mElements; /**< Contained particle effects */ + size_t mSize; }; #endif // PARTICLE_PARTICLELIST_H -- cgit v1.2.3-60-g2f50