Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PbChanceComponentRef

The PB Chance Component is a component that shows how likely it is to beat the Personal Best. If there is no active attempt it shows the general chance of beating the Personal Best. During an attempt it actively changes based on how well the attempt is going.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • This constructor is an implementation detail. Do not use this.

    Parameters

    • ptr: number

    Returns PbChanceComponentRef

Properties

ptr

ptr: number

Methods

state

  • Calculates the component's state based on the timer provided.

    Parameters

    Returns KeyValueComponentState

stateAsJson

  • Encodes the component's state information as JSON.

    Parameters

    Returns any

Generated using TypeDoc