Minor fix
This commit is contained in:
@@ -34,7 +34,7 @@ end
|
|||||||
-- TODO: возможно стоит создать какой-то абстрактный класс,
|
-- TODO: возможно стоит создать какой-то абстрактный класс,
|
||||||
-- который будет является алеасом на table и будет обозначать наш класс
|
-- который будет является алеасом на table и будет обозначать наш класс
|
||||||
function Mod:getClassInstance()
|
function Mod:getClassInstance()
|
||||||
local instance = setmetatable({}, { __index = self.Class })
|
local instance = self.Class:new()
|
||||||
|
|
||||||
return instance
|
return instance
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user