class ParticleSystem : public GameObject
{
public:
- ParticleSystem();
+ ParticleSystem(float max_particle_size = 60);
virtual ~ParticleSystem();
virtual void draw(DrawingContext& context);
protected:
- enum {MAX_PARTICLE_SIZE = 64};
+ float max_particle_size;
int z_pos;
class Particle
float speed;
float wobble;
float anchorx;
- float anchordrift;
+ float drift_speed;
};
Surface* snowimages[3];