Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a break period in a beatmap.

Hierarchy

  • BreakPoint

Index

Constructors

  • new BreakPoint(values: { endTime: number; startTime: number }): BreakPoint

Properties

duration: number

The duration of the break period. This is obtained from endTime - startTime.

endTime: number

The end time of the break period.

startTime: number

The start time of the break period.

MIN_BREAK_DURATION: number = 650

The minimum duration required for a break to have any effect.

Methods

  • contains(time: number): boolean
  • Whether this break period contains a specified time.

    Parameters

    • time: number

      The time to check in milliseconds.

    Returns boolean

    Whether the time falls within this break period.

  • toString(): string

Generated using TypeDoc