mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-01 20:03:55 -04:00
Clean up component vs baseComponent
This commit is contained in:
parent
f6536d5a0e
commit
e0f88025ba
5 changed files with 52 additions and 50 deletions
3
main.lua
3
main.lua
|
@ -36,8 +36,7 @@ end)
|
|||
local test_system = System("test_system", {Components.test_comp_1})
|
||||
|
||||
local function onEntityAdded(pool, e) -- luacheck: ignore
|
||||
local test_comp = e:get(Components.test_comp_1)
|
||||
print(test_comp.x)
|
||||
print("Added")
|
||||
end
|
||||
|
||||
local function onEntityRemoved(pool, e) -- luacheck: ignore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue