#include <Explosion.h>
Inheritance diagram for Explosion:
Public Methods | |
Explosion () | |
Default constructor. | |
Explosion (const Rect &initPos, float initHeight) | |
Construct a explosion at a specified map location, blast size. | |
virtual | ~Explosion () |
Destructor. | |
virtual bool | update (float dt) |
Update the explosion. | |
virtual void | draw (const Point &anchor) |
Draw the explosion on the screen using the specified anchor point. | |
virtual float | getHeight () const |
Returns the height of the object. | |
virtual void | setScaleSize (float s) |
virtual void | setOffsets (int x, int y) |
|
Default constructor. Authors: Jim Clase, Jonathan Hilliker, Jason Winnebeck |
|
Construct a explosion at a specified map location, blast size.
|
|
Destructor.
|
|
Draw the explosion on the screen using the specified anchor point.
Implements Entity. |
|
Returns the height of the object. If the returned number is negative (the default implementation), the object's height is taken to be the tile's height when it is drawn. If the number is 0.0f or greater, the height given is taken to be the absolute height, and the tile's height will not be taken into consideration. The default implementation of getHeight returns a negative number. Reimplemented from Drawable. |
|
|
|
|
|
Update the explosion.
Implements Entity. |