Options
All
  • Public
  • Public/Protected
  • All
Menu

An accuracy calculator that calculates accuracy based on given parameters.

Hierarchy

  • Accuracy

Implements

Index

Constructors

Properties

Methods

Constructors

Properties

n100: number

The amount of 100s achieved.

n300: number

The amount of 300s achieved.

n50: number

The amount of 50s achieved.

nmiss: number

The amount of misses achieved.

Methods

  • value(nobjects?: number): number
  • Calculates the accuracy value (0.0 - 1.0).

    Parameters

    • Optional nobjects: number

      The amount of objects in the beatmap. If n300 was not specified in the constructor, this is required.

    Returns number

Generated using TypeDoc