Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ObjectCollisionMatrix

Records what objects are colliding with each other

Hierarchy

  • ObjectCollisionMatrix

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

matrix

matrix: Record<string, boolean>

The matrix storage.

Methods

get

reset

  • reset(): void

set

  • set(bi: Body, bj: Body, value: boolean): void

setNumObjects

  • setNumObjects(n: number): void