Returns the number of elements in an object.
The object.
The number of elements in the object.
Returns the value of a request parameter.
The name of the request parameter.
The value of the request parameter, or null
if it was not specified.
Equivlaent to dojo/_base/hitch, returns a function in a specific scope.
The scope to run the function in (e.g. the value of "this").
The function.
A function that does the same thing as 'func', but in the specified scope.
Defines console functions for IE9 and other braindead browsers.
Adds the properties of one element into another.
The object with properties to mix into another object.
The object that will receive the new properties.
Returns a random integer between min (inclusive) and max (exclusive). If max is omitted, the single parameter is treated as the maximum value, and an integer is returned in the range 0 - value.
The maximum possible value, exclusive.
The random integer value.
Returns a time in milliseconds. This will be high resolution, if possible. This method should be used to implement constructs like delays.
A time, in milliseconds.
Generated using TypeDoc
Obligatory utility methods for games.