mirror of
https://github.com/bakpakin/tiny-ecs.git
synced 2026-07-22 07:56:52 -06:00
10 lines
191 B
Lua
10 lines
191 B
Lua
local UpdateSystem = tiny.processingSystem(class "UpdateSystem")
|
|
|
|
UpdateSystem.filter = tiny.requireAll("update")
|
|
|
|
function UpdateSystem:process(e, dt)
|
|
e:update(dt)
|
|
end
|
|
|
|
return UpdateSystem
|