#include <imageparticle.h>
Definition at line 33 of file imageparticle.h.
Public Member Functions | |
ImageParticle (Map *map, Image *image) | |
Constructor. | |
~ImageParticle () | |
Destructor. | |
virtual void | draw (Graphics *graphics, int offsetX, int offsetY) const |
Draws the particle image. | |
Protected Attributes | |
Image * | mImage |
The image used for this particle. |
Constructor.
The image is reference counted by this particle.
map | the map this particle appears on | |
image | an Image instance, may not be NULL |
Definition at line 28 of file imageparticle.cpp.
ImageParticle::~ImageParticle | ( | ) |
void ImageParticle::draw | ( | Graphics * | graphics, | |
int | offsetX, | |||
int | offsetY | |||
) | const [virtual] |
Draws the particle image.
Reimplemented from Particle.
Definition at line 42 of file imageparticle.cpp.
Image* ImageParticle::mImage [protected] |