"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PreBombCollisionFilter = void 0;
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
const shouldFire_1 = require("../../shouldFire");
const CustomCallback_1 = require("../private/CustomCallback");
class PreBombCollisionFilter extends CustomCallback_1.CustomCallback {
    constructor() {
        super();
        this.callbacksUsed = [
            // 60
            [isaac_typescript_definitions_1.ModCallback.PRE_BOMB_COLLISION, this.preBombCollision],
        ];
    }
    shouldFire = shouldFire_1.shouldFireBomb;
    // ModCallback.PRE_BOMB_COLLISION (60)
    preBombCollision = (bomb, collider, low) => this.fire(bomb, collider, low);
}
exports.PreBombCollisionFilter = PreBombCollisionFilter;
