#include <particlecontainer.h>

Definition at line 97 of file particlecontainer.h.
Public Member Functions | |
| ParticleVector (ParticleContainer *parent=NULL, bool delParent=true) | |
| virtual | ~ParticleVector () |
| virtual void | setLocally (int index, Particle *particle) |
| Sets a particle at a specified index. | |
| virtual void | delLocally (int index) |
| Removes a particle at a specified index. | |
| 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::vector< Particle * > | mIndexedElements |
| ParticleVector::ParticleVector | ( | ParticleContainer * | parent = NULL, |
|
| bool | delParent = true | |||
| ) |
Definition at line 114 of file particlecontainer.cpp.
| ParticleVector::~ParticleVector | ( | ) | [virtual] |
Definition at line 118 of file particlecontainer.cpp.
| void ParticleVector::setLocally | ( | int | index, | |
| Particle * | particle | |||
| ) | [virtual] |
Sets a particle at a specified index.
Kills the previous particle there, if needed.
Definition at line 121 of file particlecontainer.cpp.
| void ParticleVector::delLocally | ( | int | index | ) | [virtual] |
| void ParticleVector::clearLocally | ( | ) | [virtual] |
Kills and removes all particle effects (only in this container).
Reimplemented from ParticleContainer.
Definition at line 150 of file particlecontainer.cpp.
| void ParticleVector::moveTo | ( | float | x, | |
| float | y | |||
| ) | [virtual] |
Sets the positions of all elements.
Reimplemented from ParticleContainer.
Definition at line 156 of file particlecontainer.cpp.
std::vector<Particle *> ParticleVector::mIndexedElements [protected] |
Definition at line 118 of file particlecontainer.h.
1.5.5