"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DebugDisplayFamiliar = void 0;
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
const render_1 = require("../../../../functions/render");
const Feature_1 = require("../../../private/Feature");
const utils_1 = require("./utils");
class DebugDisplayFamiliar extends Feature_1.Feature {
    textCallback = utils_1.defaultEntityDisplayCallback;
    constructor() {
        super();
        this.callbacksUsed = [
            // 25
            [isaac_typescript_definitions_1.ModCallback.POST_FAMILIAR_RENDER, this.postFamiliarRender],
        ];
    }
    // ModCallback.POST_FAMILIAR_RENDER (25)
    postFamiliarRender = (familiar) => {
        const text = this.textCallback(familiar);
        (0, render_1.renderTextOnEntity)(familiar, text);
    };
}
exports.DebugDisplayFamiliar = DebugDisplayFamiliar;
