ParticleContainer Class Reference

#include <particlecontainer.h>

Inheritance diagram for ParticleContainer:

ParticleList ParticleVector

List of all members.


Detailed Description

Set of particle effects.

May be stacked with other ParticleContainers. All operations herein affect such stacked containers, unless the operations end in `Locally'.

Definition at line 35 of file particlecontainer.h.


Public Member Functions

 ParticleContainer (ParticleContainer *parent=NULL, bool delParent=true)
 Constructs a new particle container and assumes responsibility for its parent (for all operations defined herein, except when ending in `Locally').
virtual ~ParticleContainer ()
void clear ()
 Kills and removes all particle effects.
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

bool mDelParent
 Delete mNext in destructor.
ParticleContainermNext
 Contained container, if any.

Constructor & Destructor Documentation

ParticleContainer::ParticleContainer ( ParticleContainer parent = NULL,
bool  delParent = true 
)

Constructs a new particle container and assumes responsibility for its parent (for all operations defined herein, except when ending in `Locally').

delParent means that the destructor should also free the parent.

Definition at line 28 of file particlecontainer.cpp.

ParticleContainer::~ParticleContainer (  )  [virtual]

Definition at line 34 of file particlecontainer.cpp.


Member Function Documentation

void ParticleContainer::clear (  ) 

Kills and removes all particle effects.

Definition at line 41 of file particlecontainer.cpp.

virtual void ParticleContainer::clearLocally (  )  [inline, virtual]

Kills and removes all particle effects (only in this container).

Reimplemented in ParticleList, and ParticleVector.

Definition at line 55 of file particlecontainer.h.

void ParticleContainer::moveTo ( float  x,
float  y 
) [virtual]

Sets the positions of all elements.

Reimplemented in ParticleList, and ParticleVector.

Definition at line 48 of file particlecontainer.cpp.


Member Data Documentation

Delete mNext in destructor.

Definition at line 63 of file particlecontainer.h.

Contained container, if any.

Definition at line 64 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