Pre-release
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

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  |