Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a break period in a beatmap.

Hierarchy

  • BreakPoint

Index

Constructors

  • Parameters

    • values: { endTime: number; startTime: number }
      • endTime: number
      • startTime: number

    Returns <internal>.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

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
  • Returns a string representation of the class.

    Returns string

Generated using TypeDoc