import { Particle } from '../Particle' ; import { IEmitterBehavior , BehaviorOrder } from './Behaviors' ; import { BehaviorEditorConfig } from './editor/Types' ; /**
 * A Spawn behavior that sends particles out from a single point at the emitter's position.
 *
 * Example config:
 * ```javascript
 * {
 *     type: 'spawnPoint',
 *     config: {}
 * }
 * ```
 */ export class PointSpawnBehavior implements IEmitterBehavior { public static type = 'spawnPoint' ; public static editorConfig : BehaviorEditorConfig = null ; order = BehaviorOrder . Spawn ; initParticles ( _first ) { } }