Tool: create tool class

This commit is contained in:
Van
2026-02-27 20:57:54 +03:00
parent 51e6763457
commit c7cfe26335
10 changed files with 116 additions and 18 deletions

View File

@@ -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