"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PreFamiliarCollisionFilter = void 0;
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
const shouldFire_1 = require("../../shouldFire");
const CustomCallback_1 = require("../private/CustomCallback");
class PreFamiliarCollisionFilter extends CustomCallback_1.CustomCallback {
    constructor() {
        super();
        this.callbacksUsed = [
            // 26
            [isaac_typescript_definitions_1.ModCallback.PRE_FAMILIAR_COLLISION, this.preFamiliarCollision],
        ];
    }
    shouldFire = shouldFire_1.shouldFireFamiliar;
    // ModCallback.PRE_FAMILIAR_COLLISION (26)
    preFamiliarCollision = (familiar, collider, low) => this.fire(familiar, collider, low);
}
exports.PreFamiliarCollisionFilter = PreFamiliarCollisionFilter;
