diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-18 20:03:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-18 20:03:06 +0300 |
commit | c8e22bbb7cc1531b09b994e06a58fd8c4664b7bb (patch) | |
tree | e8d4180c64aada75021673c4b6ef97c7aeedbeeb /src/particle/particlecontainer.h | |
parent | 7da95c7f4da447876458a0b1a17736b9a2865844 (diff) | |
download | manaverse-c8e22bbb7cc1531b09b994e06a58fd8c4664b7bb.tar.gz manaverse-c8e22bbb7cc1531b09b994e06a58fd8c4664b7bb.tar.bz2 manaverse-c8e22bbb7cc1531b09b994e06a58fd8c4664b7bb.tar.xz manaverse-c8e22bbb7cc1531b09b994e06a58fd8c4664b7bb.zip |
Move particlelist into separate file.
Diffstat (limited to 'src/particle/particlecontainer.h')
-rw-r--r-- | src/particle/particlecontainer.h | 31 |
1 files changed, 0 insertions, 31 deletions
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 @@ -73,37 +73,6 @@ protected: }; /** - * 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<Particle *> mElements; /**< Contained particle effects */ -}; - -/** * Particle container with indexing facilities */ class ParticleVector final : public ParticleContainer |