#pragma once

class cParticles {
public:
	cParticles();
	~cParticles();
	void update();
	void judge();

	void init(float x, float y, float m, float n);

	void turnOff();

	//int startTime,endTime;
	float pos_x, pos_y;
	float vel_x, vel_y;
	float res_x, res_y;
	float upSpeed;
	float boomPoint;
	bool active;
	bool isBoom = false;
	int life=200;	//last time
};