This commit is contained in:
parent
c18e606d10
commit
61cdbb3b7a
|
@ -1,3 +1,4 @@
|
||||||
|
---@class TestImpl : Impl
|
||||||
local Impl = NewImpl("Test")
|
local Impl = NewImpl("Test")
|
||||||
|
|
||||||
function Impl:Init()
|
function Impl:Init()
|
||||||
|
@ -15,4 +16,4 @@ end
|
||||||
function Impl:Add(amount, amount2)
|
function Impl:Add(amount, amount2)
|
||||||
self.testVar = self.testVar + amount + amount2
|
self.testVar = self.testVar + amount + amount2
|
||||||
return self.testVar
|
return self.testVar
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
---@class TestImpl : Impl
|
||||||
local Impl = NewImpl("Test")
|
local Impl = NewImpl("Test")
|
||||||
|
|
||||||
function Impl:OnReady()
|
function Impl:OnReady()
|
||||||
main:LogInfo("%s ready", self:GetName())
|
main:LogInfo("%s ready", self:GetName())
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user