@osbjs/components
Version:
osbjs pre-built components
23 lines (22 loc) • 731 B
TypeScript
import { Component } from '@osbjs/osbjs';
import { Beatmap, Circle, Slider } from '@osbjs/osujs';
export declare class HitObjectHighlight extends Component {
name: string;
osbPath: string;
startTime: number;
endTime: number;
beatmap: Beatmap;
circles: Circle[];
sliders: Slider[];
beat: number;
options: HitObjectHighlightOptions;
constructor(osbPath: string, startTime: number | string, endTime: number | string, beatmap: Beatmap, options?: HitObjectHighlightOptions);
generate(): void;
}
export interface HitObjectHighlightOptions {
endScale: number;
startScale: number;
fadeDuration: number;
beatDivisor: number;
followSliderPath: boolean;
}