Entity: create dummy-class
This commit is contained in:
16
mods/CORE/Entity/src/Entity.lua
Normal file
16
mods/CORE/Entity/src/Entity.lua
Normal 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
|
||||
4
mods/CORE/Entity/src/Entity/EntityDefinition.lua
Normal file
4
mods/CORE/Entity/src/Entity/EntityDefinition.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@class Entity.EntityDefinition
|
||||
local EntityDefinition = {}
|
||||
|
||||
return EntityDefinition
|
||||
Reference in New Issue
Block a user