setCollisionType(type) {
		if (typeof type !== "undefined") {
			if (typeof collision.types[type] !== "undefined") {
				this.collisionType = collision.types[type];
			} else {
				throw new Error("Invalid value for the collisionType property");
			}
		}
	}
define the collision type of the body for collision filtering
@see collision.types
@param {number} type - the collision type
@example
// set the body collision type
body.collisionType = me.collision.types.PLAYER_OBJECT;