Properties
canvas
canvas: HTMLCanvasElement
collisionGraphics
collisionGraphics: Graphics = ...
colors
colors: { constraint: number; dynamic: (shape: Shape) => number }
Type declaration
-
constraint: number
-
dynamic: (shape: Shape) => number
-
-
Parameters
Returns number
constraints
constraints: Set<Constraint> = ...
engine
engine: Engine
mouse
options
options: { showCollisions: boolean; showSleeping: boolean }
Type declaration
-
showCollisions: boolean
-
showSleeping: boolean
renderer
renderer: Renderer
scale
scale: number
shapes
shapes: Set<Shape> = ...
sprites
sprites: Map<number, Graphics> = ...
stage
stage: Container
translate
translate: Vector