#pragma once

#define time_life 200    //1 scale corresponds to 200ms and refreshes once per millisecond

class cParticle
{
public:
	cParticle();
	~cParticle();
	float Position_x;       //Initial position x
	float Position_y;       //Initial position Y 
	int Life;               //Life unit: scale
	bool ActiveFlag;        //Activation flag
	void run();             //Move a scale
	float r;                //Red
	float g;                //Green
	float b;                //Blue
private:
	float Velocity;         //Speed
	float Direction;        //Direction
};

