#ifndef LIGHTNING_H
#define LIGHTNING_H


#include "Cpart_emitter.h"
#include "Cparticle.h"



//#include "utils/Vector3.h"


#include <GL/glut.h>
#include <GL/gl.h>
#include <GL/glu.h>

#include "utils/CtgaLoader.h"

//class CTgaLoader;


class Lightning
{
public:
	Lightning(void);

	bool init (void);

	void update (void);

	void add (void);

	void rnd_add (void);



public:
	CTGALoader lightning_tex;        // Lightning texture image.
	Cpart_emitter* m_p_emitter;
	~Lightning(void);

	int light_count;

private:
	Vector3 old_pos;
};

#endif // LIGHTNING_H
