API Docs for: 0.6.1
Show:

ObjectCollisionMatrix Class

Records what objects are colliding with each other

Constructor

ObjectCollisionMatrix

()

Item Index

Properties

Methods

get

(
  • i
  • j
)
Number

Parameters:

  • i Number
  • j Number

Returns:

Number:

reset

()

Empty the matrix

set

(
  • i
  • j
  • value
)

Parameters:

  • i Number
  • j Number
  • value Number

setNumObjects

(
  • n
)

Set max number of objects

Parameters:

  • n Number

Properties

matrix

Object

The matrix storage