"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PreTearCollisionFilter = void 0;
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
const shouldFire_1 = require("../../shouldFire");
const CustomCallback_1 = require("../private/CustomCallback");
class PreTearCollisionFilter extends CustomCallback_1.CustomCallback {
    constructor() {
        super();
        this.callbacksUsed = [
            // 42
            [isaac_typescript_definitions_1.ModCallback.PRE_TEAR_COLLISION, this.preTearCollision],
        ];
    }
    shouldFire = shouldFire_1.shouldFireTear;
    // ModCallback.PRE_TEAR_COLLISION (42)
    preTearCollision = (tear, collider, low) => this.fire(tear, collider, low);
}
exports.PreTearCollisionFilter = PreTearCollisionFilter;
