ParticleList Class Reference

#include <particlecontainer.h>

Inheritance diagram for ParticleList:

ParticleContainer

List of all members.


Detailed Description

Linked list of particle effects.

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.

Constructor & Destructor Documentation

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.


Member Function Documentation

void ParticleList::addLocally ( Particle particle  ) 

Takes control of and adds a particle.

Definition at line 63 of file particlecontainer.cpp.

void ParticleList::removeLocally ( Particle particle  ) 

`kills' and removes a particle

Definition at line 73 of file particlecontainer.cpp.

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.


Member Data Documentation

std::list<Particle *> ParticleList::mElements [protected]

Contained particle effects.

Definition at line 91 of file particlecontainer.h.


The documentation for this class was generated from the following files:

Generated on Sun Apr 26 17:30:43 2009 for The Mana World by  doxygen 1.5.5