diff options
Diffstat (limited to 'src/particle/particlevector.h')
-rw-r--r-- | src/particle/particlevector.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/particle/particlevector.h b/src/particle/particlevector.h index 8804991be..68589e4e1 100644 --- a/src/particle/particlevector.h +++ b/src/particle/particlevector.h @@ -59,6 +59,9 @@ class ParticleVector final : public ParticleContainer void moveTo(const float x, const float y) override final; + size_t size() const + { return mIndexedElements.size(); } + protected: std::vector<Particle *> mIndexedElements; }; |