IdManager
An ID manager.
Constructor Summary
Public Constructor | ||
public |
constructor(initialId: *) Constructs a new ID manager. |
Member Summary
Public Members | ||
public |
nextId: * The next ID. |
Method Summary
Public Methods | ||
public |
getNextId(): * Returns the next unique ID. |
|
public |
reset(initialId: *): * Resets the ID counter. |
Public Constructors
public constructor(initialId: *) source
Constructs a new ID manager.
Params:
Name | Type | Attribute | Description |
initialId | * | The first ID. |