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

  • Calculates accuracy based on given parameters.

    If percent and nobjects are specified, n300, n100, and n50 will be automatically calculated to be the closest to the given acc percent.

    Parameters

    Returns <internal>.Accuracy

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