Interface: Bounds
Defined in: src/mobjects/physics/collisions.ts:24
The rectangular bounds of the world. Any side left undefined is open, so
a body passes through it freely.
Properties
maxX?
optionalmaxX:number
Defined in: src/mobjects/physics/collisions.ts:30
Right wall x, or undefined for an open right side.
maxY?
optionalmaxY:number
Defined in: src/mobjects/physics/collisions.ts:32
Ceiling y, or undefined for an open top.
minX?
optionalminX:number
Defined in: src/mobjects/physics/collisions.ts:26
Left wall x, or undefined for an open left side.
minY?
optionalminY:number
Defined in: src/mobjects/physics/collisions.ts:28
Floor y, or undefined for an open bottom.