new ElectricityEmitter(px, py, num)
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 |