Interface IHasPathWithRepeats

A HitObject that has a curve.

interface IHasPathWithRepeats {
    distance: number;
    duration: number;
    endTime: number;
    nodeSamples: HitSample[][];
    path: SliderPath;
    repeats: number;
    spanDuration: number;
    spans: number;
}

Hierarchy (view full)

Properties

distance: number

The positional length of the hit object.

duration: number

The duration of the hit object.

endTime: number

The time at which the hit object ends.

nodeSamples: HitSample[][]

The samples to be played when each node of the IHasPath is hit. 0: The first node. 1: The first repeat. 2: The second repeat. ... n-1: The last repeat. n: The last node.

The curve.

repeats: number

The amount of times the hit object repeats.

spanDuration: number

The duration of a single span.

spans: number

The number of spans of the hit object.