51 void update(
int milliseconds);
void setDefaults(void)
Sets clean weather, but generate some parameters usable for easily changing it into the worse varieti...
Weather(void)
make a default (clean) weather
void render(void)
Draws weather effects.
void clearParticles(void)
Just a shared methods for ctors to initialize the weather.
void update(int milliseconds)
Updates weather for the time passed; handles particle creation/removal automatically.
void changeTo(weatherTypes weather)
changes to weather of given type; parameters are randomized
static const size_t MAX_PARTICLES
particle particles[MAX_PARTICLES]