#include <particlecontainer.h>
Definition at line 70 of file particlecontainer.h.
Public Member Functions | |
ParticleList (ParticleContainer *parent=NULL, bool delParent=true) | |
virtual | ~ParticleList () |
void | addLocally (Particle *) |
Takes control of and adds a particle. | |
void | removeLocally (Particle *) |
`kills' and removes a particle | |
virtual void | clearLocally () |
Kills and removes all particle effects (only in this container). | |
virtual void | moveTo (float x, float y) |
Sets the positions of all elements. | |
Protected Attributes | |
std::list< Particle * > | mElements |
Contained particle effects. |
ParticleList::ParticleList | ( | ParticleContainer * | parent = NULL , |
|
bool | delParent = true | |||
) |
Definition at line 56 of file particlecontainer.cpp.
ParticleList::~ParticleList | ( | ) | [virtual] |
Definition at line 60 of file particlecontainer.cpp.
void ParticleList::addLocally | ( | Particle * | particle | ) |
void ParticleList::removeLocally | ( | Particle * | particle | ) |
void ParticleList::clearLocally | ( | ) | [virtual] |
Kills and removes all particle effects (only in this container).
Reimplemented from ParticleContainer.
Definition at line 85 of file particlecontainer.cpp.
void ParticleList::moveTo | ( | float | x, | |
float | y | |||
) | [virtual] |
Sets the positions of all elements.
Reimplemented from ParticleContainer.
Definition at line 94 of file particlecontainer.cpp.
std::list<Particle *> ParticleList::mElements [protected] |