UNPKG

@shopware-ag/dive

Version:

Shopware Spatial Framework

19 lines (18 loc) 474 B
export interface DIVETicker { uuid: string; tick(deltaTime: number): void; } export declare class DIVEClock { readonly isDIVEClock: true; private _lastTime; private _isRunning; private _tickers; private _animationRequestId; startAsync(): Promise<void>; stop(): void; addTicker(ticker: DIVETicker): void; hasTicker(ticker: DIVETicker): boolean; removeTicker(ticker: DIVETicker): void; dispose(): void; private _tick; }