Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "operators/frames"

Index

Functions

filterOnlyFirstFrame

  • filterOnlyFirstFrame<T>(): MonoTypeOperatorFunction<T>
  • Return the previous frame of the game and the current frame

    Type parameters

    • T: { frame: number }

    Returns MonoTypeOperatorFunction<T>

playerFrameFilter

  • playerFrameFilter(index: number): MonoTypeOperatorFunction<FrameEntryType>
  • Filter the frames to only those that belong to the player {index}.

    Parameters

    • index: number

    Returns MonoTypeOperatorFunction<FrameEntryType>

withPreviousFrame

  • withPreviousFrame<T>(): OperatorFunction<T, [T, T]>
  • Return the previous frame of the game and the current frame

    Type parameters

    • T: { frame: number }

    Returns OperatorFunction<T, [T, T]>

Generated using TypeDoc