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,10 +1,4 @@
local modInfo = Mod.getInfo('smc__core__plant')
---@type TileSheet
local TileSheet = Mod.getInfo('smc__core__tilesheet').require('TileSheet')
---@type Plant
local Plant = modInfo.require('Plant')
local Plant, TileSheet = Smc.requirePlant(), Smc.requireTileSheet()
Plant:new({
settings = {