Tool: create tool class
This commit is contained in:
@@ -16,6 +16,14 @@ function Smc.requireNode()
|
||||
return class
|
||||
end
|
||||
|
||||
---@return Tool
|
||||
function Smc.requireTool()
|
||||
---@type Tool
|
||||
local class = Mod.getInfo('smc__core__tool').require('Tool')
|
||||
|
||||
return class
|
||||
end
|
||||
|
||||
---@return Plant
|
||||
function Smc.requirePlant()
|
||||
---@type Plant
|
||||
|
||||
Reference in New Issue
Block a user