Class Course

Represents a course in a song.

Hierarchy

  • Course

Constructors

Properties

difficulty: Difficulty = Difficulty.Oni

The difficulty of the course.

doubleCourse: CourseVariant = ...

The DOUBLE style course variant of this course.

singleCourse: CourseVariant = ...

The SINGLE style course variant of this course.

stars: number = 10

The star rating of the course. It is an integer between 1 and 10.

Accessors

  • set activeCourseStyle(style: Style): void
  • Sets the active course style. The activeCourse getter will return the course variant based on this style value.

    Parameters

    Returns void

Methods

  • Sets the gauge at a given index to the provided gauge data on the active course variant.

    Parameters

    • index: number

      The index to set.

    • gauge: DojoGauge

      The gauge data.

    Returns void

  • Converts the course data into TJA format.

    Returns

    • A string that will correspond to a single course in a TJA file.

    Returns string

Generated using TypeDoc