Options
All
  • Public
  • Public/Protected
  • All
Menu

Used to processes strain values of difficulty hitobjects, keep track of strain levels caused by the processed objects and to calculate a final difficulty value representing the difficulty of hitting all the processed objects.

Hierarchy

Index

Constructors

Properties

strainPeaks: number[]

Strain peaks are stored here.

Methods

  • difficultyValue(): number
  • Returns the calculated difficulty value representing all hitobjects that have been processed up to this point.

    Returns number

  • Calculates the strain value of a hitobject and stores the value in it. This value is affected by previously processed objects.

    Parameters

    Returns void

  • saveCurrentPeak(): void
  • Saves the current peak strain level to the list of strain peaks, which will be used to calculate an overall difficulty.

    Returns void

Generated using TypeDoc