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