#include <Effect.h>
Inheritance diagram for Effect:
Public Methods | |
Effect () | |
Constructor. | |
virtual | ~Effect () |
Destructor. | |
virtual bool | update (float dt)=0 |
Update the logic for the effect. | |
virtual void | draw (const Point &anchor)=0 |
Draw this Effect on the screen, given the anchor point on the screen, which is defined as the center of the Effect's contact with the ground. | |
virtual const Rect & | getPosition () const=0 |
Get the current position on the map. |
Effects are updated, drawn, and can die.
|
Constructor. Authors: Jim Clase, Jonathan Hilliker, Jason Winnebeck |
|
Destructor.
|
|
Draw this Effect on the screen, given the anchor point on the screen, which is defined as the center of the Effect's contact with the ground.
Implements Drawable. Implemented in Particle. |
|
Get the current position on the map.
Implements Drawable. Implemented in Particle. |
|
Update the logic for the effect.
Implemented in Particle. |