forked from Apancore.Studio/simple-makes-complex
Create Node class
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
local Node = Mod:new()
|
||||
|
||||
---local Node = Core.Item:extend()
|
||||
Node.Class = Node.require('Node')
|
||||
|
||||
Api.addModToGlobalSpace(Node, 'Core.Node')
|
||||
|
||||
10
mods/CORE/Node/src/Node.lua
Normal file
10
mods/CORE/Node/src/Node.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
---@class Node : Item
|
||||
local Node = Core.Item:getClassExtended({
|
||||
--TODO: Че тут писать?
|
||||
})
|
||||
|
||||
function Node:new()
|
||||
--TODO: Это надо вообще?
|
||||
end
|
||||
|
||||
return Node
|
||||
Reference in New Issue
Block a user