local A="\078\101\120\117\115\068\105\115\097\098\108\097\098\108\101\067\111\110\116\097\105\110\101\114"local b=(require(script.Parent.Parent:WaitForChild("\078\101\120\117\115\080\108\117\103\105\110\070\114\097\109\101\119\111\114\107\080\114\111\106\101\099\116"))):GetContext(script)local O=b:GetResource("\066\097\115\101\046\078\101\120\117\115\067\111\110\116\097\105\110\101\114")local w=O:Extend()w:SetClassName(A)b:SetContextResource(w)function w.__new(b)b:InitializeSuper()b.Name=A b.Disabled=false end function w.IsEnabled(A)return not A.Disabled end return w
--[[
TheNexusAvenger

Guarentees a container can be enabled or disabled.
--]]

local CLASS_NAME = "NexusDisablableContainer"



local NexusPluginFramework = require(script.Parent.Parent:WaitForChild("NexusPluginFrameworkProject")):GetContext(script)
local NexusContainer = NexusPluginFramework:GetResource("Base.NexusContainer")

local NexusDisablableContainer = NexusContainer:Extend()
NexusDisablableContainer:SetClassName(CLASS_NAME)
NexusPluginFramework:SetContextResource(NexusDisablableContainer)



--[[
Creates a Nexus Disablable Container object.
--]]
function NexusDisablableContainer:__new()
	self:InitializeSuper()
	
	self.Name = CLASS_NAME
	self.Disabled = false
end

--[[
Returns if the container is enabled.
--]]
function NexusDisablableContainer:IsEnabled()
	return not self.Disabled
end



return NexusDisablableContainer