Clean up entity and world. Remove list:get

This commit is contained in:
Tjakka5 2019-12-29 15:56:20 +01:00
parent 38d461f8d6
commit 0183421c47
7 changed files with 32 additions and 30 deletions

View file

@ -0,0 +1,6 @@
local Component = require("src").component
return Component(function(e, x, y)
e.x = x
e.y = y
end)