"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PreKnifeCollisionFilter = void 0;
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
const shouldFire_1 = require("../../shouldFire");
const CustomCallback_1 = require("../private/CustomCallback");
class PreKnifeCollisionFilter extends CustomCallback_1.CustomCallback {
    constructor() {
        super();
        this.callbacksUsed = [
            // 53
            [isaac_typescript_definitions_1.ModCallback.PRE_KNIFE_COLLISION, this.preKnifeCollision],
        ];
    }
    shouldFire = shouldFire_1.shouldFireKnife;
    // ModCallback.PRE_KNIFE_COLLISION (53)
    preKnifeCollision = (knife, collider, low) => this.fire(knife, collider, low);
}
exports.PreKnifeCollisionFilter = PreKnifeCollisionFilter;
