Interface ParticlesComp: The particles component.group Componentssubgroup Component Types emitter: { position: Vec2 Relative position of the emitter direction: number Relative direction of the emitter } emit(n: number): void Emit a number of particles onEnd(cb: () => void): void Called when the emitter expires