Class Beatmap

A parsed beatmap.

Hierarchy (view full)

Implements

Constructors

Properties

base?: IBeatmap

The optional link to the base beatmap. Base beatmap is preferrable for beatmap converters.

colors: BeatmapColorSection = ...

Beatmap skin configuration.

controlPoints: ControlPointInfo = ...

Beatmap control points.

difficulty: BeatmapDifficultySection = ...

Beatmap difficulty.

editor: BeatmapEditorSection = ...

Beatmap editor settings.

events: BeatmapEventSection = ...

Beatmap events & Storyboard.

fileFormat: number = 14

Beatmap file version.

fileUpdateDate: Date = ...

The date when the beatmap file was updated last time.

general: BeatmapGeneralSection = ...

Beatmap general info.

hitObjects: HitObject[] = []

Beatmap hit objects.

metadata: BeatmapMetadataSection = ...

Beatmap metadata.

originalMode: number = 0

Original gamemode of a beatmap before any conversions.

Accessors

  • get bpmMaxUnlimited(): number
  • Maximal BPM of a beatmap without any limits as it was in osu!stable. Usage of bpmMax is preferable when working with osu!lazer.

    Returns number

  • get bpmMinUnlimited(): number
  • Minimal BPM of a beatmap without any limits as it was in osu!stable. Usage of bpmMin is preferable when working with osu!lazer.

    Returns number

  • get bpmUnlimited(): number
  • The most common BPM of a beatmap without any limits as it was in osu!stable. Usage of bpm is preferable when working with osu!lazer.

    Returns number

Methods

  • Creates a copy of this beatmap. Non-primitive properties will be copied via their own clone() method.

    Returns this

    A copied beatmap.