Module:StatClass

From Halo Esports Wiki
Jump to: navigation, search

Documentation for this module may be created at Module:StatClass/doc

local Class = require('Module:Class').Class
local MarkupObject = require('Module:MarkupObjectClass')

local Stat = Class(MarkupObject)

function Stat:new(str)
	self:super(str, 'Stat')
	if self.unknown then
		error('Unrecognized stat name: ' .. tostring(str))
	end
	self.imagesizes = { medium = 20 }
end

return Stat