API Documentation for:
Show:

Box2D Class

Defined in: Box2D:17
Module: addBox2D

Static class holding library specific information such as the version and buildDate of the library.

Item Index

Properties

Methods

assert

(
  • condition
  • [message="Assertion_Failed"]
  • [args]
)
Void public

Provided by the Rope module.

Defined in assert:75

Assertion testing.

Parameters:

  • condition Boolean
  • [message="Assertion_Failed"] String= optional

    optional message

  • [args] ... optional

    optional arguments

Returns:

Void:

FREE

(
  • mem
)
Void public static

Provided by the Rope module.

Defined in FREE:175

If you implement MALLOC, you should also implement FREE.

Parameters:

  • mem

Returns:

Void:

MALLOC

(
  • size
)
public static

Provided by the Rope module.

Defined in MALLOC:156

Implement this function to use your own memory allocator. Gettin' hard core with ASM.js?

Parameters:

Returns:

:

newNumberVector

(
  • length
)
Array. public

Provided by the Rope module.

Defined in newNumberVector:137

Returns a 'typed array' vector of Numbers.

Parameters:

  • length Int

Returns:

Array.:

newVector

(
  • length
  • initialize
)
Array.<> public

Provided by the Rope module.

Defined in newVector:110

Returns a 'typed array' vector. An array of instantiated objects.

Parameters:

  • length Int
  • initialize Function

    Function returning an instantiated object for each index.

Returns:

Array.<>:

parseUInt

(
  • number
)
Int public

Provided by the Rope module.

Defined in parseUInt:98

Converts a number to an unsigned integer.

Parameters:

Returns:

Int:

unsigned integer

Properties

buildDate

String static

Defined in buildDate:24

The build date for this release in UTC format.

version

String static

Defined in version:32

The version string for this release.