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 ____doors = require("functions.doors")
local getDoors = ____doors.getDoors
local ____shouldFire = require("shouldFire")
local shouldFireDoor = ____shouldFire.shouldFireDoor
local ____CustomCallback = require("classes.private.CustomCallback")
local CustomCallback = ____CustomCallback.CustomCallback
____exports.PostDoorUpdate = __TS__Class()
local PostDoorUpdate = ____exports.PostDoorUpdate
PostDoorUpdate.name = "PostDoorUpdate"
__TS__ClassExtends(PostDoorUpdate, CustomCallback)
function PostDoorUpdate.prototype.____constructor(self)
    CustomCallback.prototype.____constructor(self)
    self.shouldFire = shouldFireDoor
    self.postUpdate = function()
        for ____, door in ipairs(getDoors(nil)) do
            self:fire(door)
        end
    end
    self.callbacksUsed = {{ModCallback.POST_UPDATE, self.postUpdate}}
end
return ____exports
