#include <puff.h>
Public Member Functions | |
void | clear () |
Clears all particles. | |
void | createPuff (vector2 &start, vector2 &end) |
Constructs a "puff" over a (broken) edge. | |
void | doPhysics (component timestep) |
Performs a step in the puff particle simulation. | |
void | draw () |
Draws the puff particles. |
|
Constructs a "puff" over a (broken) edge. The particles are distributed randomly along the edge.
|
|
Performs a step in the puff particle simulation.
|