Class RulesetAbstract

A ruleset.

Implements

Constructors

Properties

id: number

Ruleset ID.

Methods

  • Applies ruleset to a replay. Converts legacy replay frames to ruleset specific frames.

    Parameters

    • replay: IReplay

      The replay.

    • Optional beatmap: IBeatmap

      The beatmap of the replay which is used to get some data.

    Returns Replay

    A new instance of the replay with applied ruleset.