mirror of
https://github.com/bakpakin/tiny-ecs.git
synced 2026-07-22 07:56:52 -06:00
First demo commit.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
local UpdateSystem = tiny.processingSystem(class "UpdateSystem")
|
||||
|
||||
UpdateSystem.filter = tiny.requireAll("update")
|
||||
|
||||
function UpdateSystem:process(e, dt)
|
||||
e:update(dt)
|
||||
end
|
||||
|
||||
return UpdateSystem
|
||||
Reference in New Issue
Block a user