ObjectCollisionMatrix Class
Records what objects are colliding with each other
Constructor
ObjectCollisionMatrix
()
Methods
get
(
Number
-
i
-
j
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