Commit 34f13265 authored by Delisa Mason's avatar Delisa Mason

refactor: Use simple systems as the default

parent e640847e
return function (tiny)
local system = tiny.processingSystem()
-- Set filter:
system.filter = tiny.requireAll("")
return function ()
local system = {}
function system:preProcess(entity, dt)
function system.update(game, dt)
end
function system:process(entity, dt)
end
-- function system.preUpdate(game, dt)
-- end
function system:postProcess(entity, dt)
end
-- function system.postUpdate(game, dt)
-- end
-- function system.draw(game, dt)
-- end
-- function system.keyreleased(game, key, code)
-- end
return system
end
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment