Module "operators/stocks"
Functions
filterJustSpawned
- filterJustSpawned(playerIndex: number): MonoTypeOperatorFunction<FrameEntryType>
-
Parameters
Returns MonoTypeOperatorFunction<FrameEntryType>
mapFrameToSpawnStockType
- mapFrameToSpawnStockType(settings$: Observable<GameStartType>, playerIndex: number): OperatorFunction<PostFrameUpdateType, StockType>
-
Parameters
-
settings$: Observable<GameStartType>
-
playerIndex: number
Returns OperatorFunction<PostFrameUpdateType, StockType>
mapFramesToDeathStockType
- mapFramesToDeathStockType(playerSpawned$: Observable<StockType>): OperatorFunction<[PostFrameUpdateType, PostFrameUpdateType], StockType>
-
Parameters
-
playerSpawned$: Observable<StockType>
Returns OperatorFunction<[PostFrameUpdateType, PostFrameUpdateType], StockType>
Filter only the frames where the player has just spawned