Entity: create dummy-class

This commit is contained in:
Van
2026-02-02 14:19:14 +03:00
parent 83304bbfc1
commit 0baa7af759
3 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
local modInfo = Mod.getInfo('smc__core__entity')
local require = modInfo.require
return require('Entity')

View File

@@ -0,0 +1,16 @@
local getInstance = Class.getInstance
---@class Entity
local Entity = {}
---@param def Entity.EntityDefinition
---@return Entity
function Entity:new(def)
local instance = getInstance(self, {
})
return instance
end
return Entity

View File

@@ -0,0 +1,4 @@
---@class Entity.EntityDefinition
local EntityDefinition = {}
return EntityDefinition