hgeParticleSystem Constructors
To create and initalize a hgeParticleSystem object you may use one of these constructors:
hgeParticleSystem(
const char *filename,
hgeSprite *sprite
);
hgeParticleSystem(
hgeParticleSystemInfo *psi
);
hgeParticleSystem(
const hgeParticleSystem &ps
);
Parameters
- filename
- Particle system description file name. This file should just hold a disk image of
hgeParticleSystemInfo structure, describing the particle system.
- sprite
- Pointer to a valid hgeSprite object to use for the particle system.
- psi
- Pointer to a valid hgeParticleSystemInfo structure, describing the particle system.
Remarks
The particle system description file is loaded with
Resource_Load
function, so all it's features are applicable.
Requirements
Header: hgeparticle.h
Import library: hgehelp.lib
|