qc.Math.id

Prototype

  • number id()

Paramters

Paramter Type Description
return number next global id

Description

Returns next global id.

Example

    // return 4
    var ret = game.math.id();

    // return 5
    var ret = game.math.id();