#include <Flame.h>
Inheritance diagram for Game::Flame:


Public Methods | |
| void | drawAt (SDL_Surface *surf, SDL_Rect *loc) |
| bool | isOnFire () |
| void | addSpark (FlameType spark, int duration=Constants::FLAME_DURATION) |
Definition at line 42 of file Flame.h.
|
|
|
|
|
|
|
||||||||||||
|
Adds another spark to the flame, possibly changing the look of what is drawn
|
|
||||||||||||
|
Draws the flame at the selected location, as well as decreases the flames duration Reimplemented from Graphics::DrawableAt. |
|
|
Determines whether a current flame has an active spark.. whether it is on fire or not
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001