new FlameEmitter(px, py, num, lifespan)
Class FlameEmitter
Creates and emits flame effects.
Parameters:
Name | Type | Description |
---|---|---|
px |
float | The x coordinate of the emitter's position |
py |
float | the y coordinate of the emitter's position |
num |
int | The number of particles to emit |
lifespan |
float | The lifespan of the emitter |