"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PreProjectileCollisionFilter = void 0;
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
const shouldFire_1 = require("../../shouldFire");
const CustomCallback_1 = require("../private/CustomCallback");
class PreProjectileCollisionFilter extends CustomCallback_1.CustomCallback {
    constructor() {
        super();
        this.callbacksUsed = [
            // 46
            [isaac_typescript_definitions_1.ModCallback.PRE_PROJECTILE_COLLISION, this.preProjectileCollision],
        ];
    }
    shouldFire = shouldFire_1.shouldFireProjectile;
    // ModCallback.PRE_PROJECTILE_COLLISION (46)
    preProjectileCollision = (projectile, collider, low) => this.fire(projectile, collider, low);
}
exports.PreProjectileCollisionFilter = PreProjectileCollisionFilter;
