mono/packages/core/dist/stopwatch.d.ts
2025-01-28 13:42:22 +01:00

11 lines
268 B
TypeScript

export declare class StopWatch {
private _startTime;
private _stopTime;
private readonly _now;
static create(highResolution?: boolean): StopWatch;
constructor(highResolution?: boolean);
stop(): void;
reset(): void;
elapsed(): number;
}