local ____lualib = require("lualib_bundle")
local __TS__Class = ____lualib.__TS__Class
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
local ____exports = {}
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
local ____render = require("functions.render")
local renderTextOnEntity = ____render.renderTextOnEntity
local ____Feature = require("classes.private.Feature")
local Feature = ____Feature.Feature
local ____utils = require("classes.features.other.debugDisplay.utils")
local defaultEntityDisplayCallback = ____utils.defaultEntityDisplayCallback
____exports.DebugDisplayTear = __TS__Class()
local DebugDisplayTear = ____exports.DebugDisplayTear
DebugDisplayTear.name = "DebugDisplayTear"
__TS__ClassExtends(DebugDisplayTear, Feature)
function DebugDisplayTear.prototype.____constructor(self)
    Feature.prototype.____constructor(self)
    self.textCallback = defaultEntityDisplayCallback
    self.postTearRender = function(____, tear)
        local text = self:textCallback(tear)
        renderTextOnEntity(nil, tear, text)
    end
    self.callbacksUsed = {{ModCallback.POST_TEAR_RENDER, self.postTearRender}}
end
return ____exports
