HelperLib: add require methods

This commit is contained in:
Van
2026-02-27 20:34:37 +03:00
parent c47ab6ac3c
commit 51e6763457
12 changed files with 54 additions and 52 deletions

View File

@@ -1,8 +1,4 @@
---@type Node
local Node = Mod.getInfo('smc__core__node').require('Node')
---@type TileSheet
local TileSheet = Mod.getInfo('smc__core__tilesheet').require('TileSheet')
local Node, TileSheet = Smc.requireNode(), Smc.requireTileSheet()
---@type Node.NodeDefinition
local defaultLogDef = {