wip
This commit is contained in:
@@ -51,4 +51,6 @@ function CapConfig:new()
|
||||
|
||||
return o;
|
||||
end
|
||||
|
||||
if not Spearhead.internal then Spearhead.internal = {} end
|
||||
Spearhead.internal.configuration.CapConfig = CapConfig;
|
||||
@@ -9,10 +9,22 @@ function StageConfig:new()
|
||||
|
||||
local enabled = SpearheadConfig.StageConfig.enabled or true
|
||||
---@return boolean
|
||||
o.isEnabled = function() return enabled == true end
|
||||
o.isEnabled = function(self) return enabled == true end
|
||||
|
||||
local drawStages = SpearheadConfig.StageConfig.drawStages or true
|
||||
---@return boolean
|
||||
o.isDrawStagesEnabled = function(self) return drawStages == true end
|
||||
|
||||
local autoStages = SpearheadConfig.StageConfig.autoStages or true
|
||||
---@return boolean
|
||||
o.isAutoStages = function(self) return autoStages end
|
||||
|
||||
local maxMissionsPerStage = SpearheadConfig.StageConfig.maxMissionStage
|
||||
o.getMaxMissionPerStage = function(self) return maxMissionsPerStage end
|
||||
|
||||
o.logLevel = Spearhead.LoggerTemplate.LogLevelOptions.INFO
|
||||
|
||||
return o;
|
||||
end
|
||||
|
||||
if not Spearhead.internal then Spearhead.internal = {} end
|
||||
Spearhead.internal.configuration.StageConfig = StageConfig;
|
||||
Reference in New Issue
Block a user