mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- added a focus threat module by request
This commit is contained in:
20
modules/FocusThreat.lua
Normal file
20
modules/FocusThreat.lua
Normal file
@ -0,0 +1,20 @@
|
||||
local AceOO = AceLibrary("AceOO-2.0")
|
||||
|
||||
local IceFocusThreat = AceOO.Class(IceThreat)
|
||||
|
||||
-- constructor
|
||||
function IceFocusThreat.prototype:init()
|
||||
IceFocusThreat.super.prototype.init(self, "FocusThreat", "focus")
|
||||
end
|
||||
|
||||
function IceFocusThreat.prototype:GetDefaultSettings()
|
||||
local settings = IceFocusThreat.super.prototype.GetDefaultSettings(self)
|
||||
|
||||
settings["side"] = IceCore.Side.Right
|
||||
settings["offset"] = 4
|
||||
|
||||
return settings
|
||||
end
|
||||
|
||||
-- Load us up
|
||||
IceHUD.IceFocusThreat = IceFocusThreat:new()
|
Reference in New Issue
Block a user