Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PossibleTimeSaveComponentRef

The Possible Time Save Component is a component that shows how much time the chosen comparison could've saved for the current segment, based on the Best Segments. This component also allows showing the Total Possible Time Save for the remainder of the current attempt.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

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

    Parameters

    • ptr: number

    Returns PossibleTimeSaveComponentRef

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