Skip to content

1681-engine / index / SpawnArea

Type Alias: SpawnArea ​

ts
type SpawnArea = 
  | {
  radius: number;
}
  | {
  height: number;
  width: number;
};

Defined in: src/particles/Emitter.ts:10

Where a new particle appears round the emitter: a disc, or a box centred on it.

Released under the MIT License.