graphic-pixi/lib/core/IdGenerator.d.ts

13 lines
264 B
TypeScript
Raw Normal View History

2023-12-12 17:31:07 +08:00
/**
* ID生成器
*/
export declare class IdGenerator {
serial: number;
type: string;
constructor(type: string);
2023-12-14 13:11:42 +08:00
next(): number;
2023-12-12 17:31:07 +08:00
getType(): string;
initSerial(serial: number): void;
}
export declare const GraphicIdGenerator: IdGenerator;