UNPKG

@giraphics/grpkggfx

Version:
7 lines (6 loc) 177 B
let _UUID = 1; export default class UUID { constructor() { this.incrementUUID(); } static getNextUUID() { return _UUID++; } incrementUUID() { this.id = _UUID++; } }