Options
All
  • Public
  • Public/Protected
  • All
Menu

Settings for one stage of a timer.

Hierarchy

  • StageSettings

Index

Constructors

constructor

  • new StageSettings(startTurn: number, fixedTimePerTurn: Duration, incrementPerTurn: Duration, initialTime: Duration): StageSettings
  • Parameters

    • startTurn: number
    • fixedTimePerTurn: Duration
    • incrementPerTurn: Duration
    • initialTime: Duration

    Returns StageSettings

Properties

fixedTimePerTurn

fixedTimePerTurn: Duration

incrementPerTurn

incrementPerTurn: Duration

initialTime

initialTime: Duration

startTurn

startTurn: number

Methods

dump

  • dump(): Record<string, any>

Static create

  • create(__namedParameters: { fixedTimePerTurn: Duration; incrementPerTurn: Duration; initialTime: Duration; startTurn: number }): StageSettings
  • Create settings for a new stage (allows destructuring).

    Parameters

    • __namedParameters: { fixedTimePerTurn: Duration; incrementPerTurn: Duration; initialTime: Duration; startTurn: number }
      • fixedTimePerTurn: Duration
      • incrementPerTurn: Duration
      • initialTime: Duration
      • startTurn: number

    Returns StageSettings

Static load

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Static method

Generated using TypeDoc