local PlayerAbsorb = IceCore_CreateClass(IceTargetAbsorb)

-- Constructor --
function PlayerAbsorb.prototype:init()
	PlayerAbsorb.super.prototype.init(self, "PlayerAbsorb", "player", "PlayerAbsorb")
end

-- 'Public' methods -----------------------------------------------------------

-- OVERRIDE
function PlayerAbsorb.prototype:GetDefaultSettings()
	local settings = PlayerAbsorb.super.prototype.GetDefaultSettings(self)

	settings["side"] = IceCore.Side.Left
	settings["offset"] = 3
	settings["enabled"] = true

	return settings
end

-- Load us up
if UnitGetTotalAbsorbs then
	IceHUD.PlayerAbsorb = PlayerAbsorb:new()
end
