Adventure.js Docs Downloads
Score: 0 Moves: 0

Class: UID

Defined in: adventure/utils/UID.js, line 6

Framework class

Global utility for generating sequential unique ID numbers. The UID class uses a static interface (ex. UID.get()) and should not be instantiated.

Shamelessly cribbed from create.js by gskinner

Private Constructor:

var foo = new adventurejs.UID()
Inherited Overrides
IndexMethodsProperties

Index

Methods:

Properties:

Methods Collapse all  |  Expand all

(protected) _nextID() → {Number}

Defined in: adventure/utils/UID.js, line 31

Returns:

Number
get()

Defined in: adventure/utils/UID.js, line 41

Returns the next unique id.

Properties Collapse all  |  Expand all

Documentation generated by JSDoc 3.6.11 on Mon Nov 20 2023 18:02:57 GMT-0800 (Pacific Standard Time)
Found a problem or error in the docs? Report it to docs@adventurejs.com.