Clean up component vs baseComponent

This commit is contained in:
Tjakka5 2019-12-22 21:08:30 +01:00
parent f6536d5a0e
commit e0f88025ba
5 changed files with 52 additions and 50 deletions

View file

@ -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