2004-06-10 20:11:26 -07:00
|
|
|
/*==================================================================
|
|
|
|
|
|
|
|
|
|
|
| Name: ParticleSystem.h
|
|
|
|
|
|
|
|
|
|
|
|===================================================================
|
|
|
|
|
|
|
|
|
|
|
==================================================================*/
|
|
|
|
|
|
|
|
|
|
#ifndef PARTICLE_SYSTEM_H
|
|
|
|
|
#define PARTICLE_SYSTEM_H
|
|
|
|
|
|
|
|
|
|
#include "ParticleEmitter.h"
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
|
|
class CParticleSystem
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CParticleSystem();
|
|
|
|
|
~CParticleSystem();
|
|
|
|
|
|
|
|
|
|
void Render();
|
|
|
|
|
void Update();
|
|
|
|
|
void Frame();
|
|
|
|
|
|
|
|
|
|
CParticleEmitter *CreateNewEmitter();
|
|
|
|
|
private:
|
|
|
|
|
std::vector<CParticleEmitter *> m_Emitters;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2007-05-07 09:33:24 -07:00
|
|
|
#endif // PARTICLE_SYSTEM_H
|