"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PreNPCCollisionFilter = void 0;
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
const shouldFire_1 = require("../../shouldFire");
const CustomCallback_1 = require("../private/CustomCallback");
class PreNPCCollisionFilter extends CustomCallback_1.CustomCallback {
    constructor() {
        super();
        this.callbacksUsed = [
            // 30
            [isaac_typescript_definitions_1.ModCallback.PRE_NPC_COLLISION, this.preNPCCollision],
        ];
    }
    shouldFire = shouldFire_1.shouldFireNPC;
    // ModCallback.PRE_NPC_COLLISION (30)
    preNPCCollision = (npc, collider, low) => this.fire(npc, collider, low);
}
exports.PreNPCCollisionFilter = PreNPCCollisionFilter;
