PhaseCreatorFn\<T *extends* [`ReelPhase`](/api/classes/index.ReelPhase/)\<`any`, `any`\> = [`ReelPhase`](/api/classes/index.ReelPhase/)\<`any`\>, P *extends* [`SpeedProfile`](/api/interfaces/index.SpeedProfile/) = [`SpeedProfile`](/api/interfaces/index.SpeedProfile/)\>
pixi-reels / index / PhaseCreatorFn
Type Alias: PhaseCreatorFn<T extends ReelPhase<any, any> = ReelPhase<any>, P extends SpeedProfile = SpeedProfile>
type PhaseCreatorFn<T extends ReelPhase<any, any> = ReelPhase<any>, P extends SpeedProfile = SpeedProfile> = (reel: Reel, speed: P) => T;
Defined in: spin/phases/PhaseFactory.ts:18
Type Parameters#
| Type Parameter | Default type |
|---|---|
T extends ReelPhase<any, any> | ReelPhase<any> |
P extends SpeedProfile | SpeedProfile |
Parameters#
| Parameter | Type |
|---|---|
reel | Reel |
speed | P |
Returns#
T