UNPKG

@osbjs/components

Version:
23 lines (22 loc) 731 B
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; }