From c8e22bbb7cc1531b09b994e06a58fd8c4664b7bb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 18 May 2014 20:03:06 +0300 Subject: Move particlelist into separate file. --- src/particle/particlecontainer.h | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'src/particle/particlecontainer.h') diff --git a/src/particle/particlecontainer.h b/src/particle/particlecontainer.h index c3b49dde0..81037ce3a 100644 --- a/src/particle/particlecontainer.h +++ b/src/particle/particlecontainer.h @@ -72,37 +72,6 @@ protected: bool mDelParent; /**< Delete mNext in destructor */ }; -/** - * Linked list of particle effects. - */ -class ParticleList final : public ParticleContainer -{ -public: - explicit ParticleList(ParticleContainer *const parent = nullptr, - const bool delParent = true); - - A_DELETE_COPY(ParticleList) - - ~ParticleList(); - - /** - * Takes control of and adds a particle - */ - void addLocally(Particle *const particle); - - /** - * `kills' and removes a particle - */ - void removeLocally(const Particle *const particle); - - void clearLocally() override final; - - void moveTo(const float x, const float y) override final; - -protected: - std::list mElements; /**< Contained particle effects */ -}; - /** * Particle container with indexing facilities */ -- cgit v1.2.3-60-g2f50