shouldCollide(a, b) {
		const bodyA = a.body;
		const bodyB = b.body;
		return (
			typeof bodyA === "object" &&
			typeof bodyB === "object" &&
			a !== b &&
			a.isKinematic !== true &&
			b.isKinematic !== true &&
			bodyA.shapes.length > 0 &&
			bodyB.shapes.length > 0 &&
			!(bodyA.isStatic === true && bodyB.isStatic === true) &&
			(bodyA.collisionMask & bodyB.collisionType) !== 0 &&
			(bodyA.collisionType & bodyB.collisionMask) !== 0
		);
	}
determine if two objects should collide (based on both respective objects body collision mask and type).<br>
you can redefine this function if you need any specific rules over what should collide with what.
@param {Renderable|Container|Entity|Sprite|NineSliceSprite} a - a reference to the object A.
@param {Renderable|Container|Entity|Sprite|NineSliceSprite} b - a reference to the object B.
@returns {boolean} true if they should collide, false otherwise