Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TimeRefMut

A time that can store a Real Time and a Game Time. Both of them are optional.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

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

    Parameters

    • ptr: number

    Returns TimeRefMut

Properties

ptr

ptr: number

Methods

clone

  • Clones the time.

    Returns Time

gameTime

  • The Game Time value. This may be null if this time has no Game Time value.

    Returns TimeSpanRef

index

  • Access the time's value for the timing method specified.

    Parameters

    • timingMethod: number

    Returns TimeSpanRef

realTime

  • The Real Time value. This may be null if this time has no Real Time value.

    Returns TimeSpanRef

Generated using TypeDoc