Files
paku/data/app.lua
Raimon Zamora ddebcfa47a - [NEW] 'app' module
- [NEW] 'editor' module
- [NEW] 'msgbox' module
- [NEW] 'score' module
- [NEW] 'ui' module
- [NEW] 'util' module
2025-06-20 13:50:07 +02:00

16 lines
276 B
Lua

app = {
update = nil,
stack = {},
push = function(func)
table.insert(app.stack, mini.update)
mini.update = func
end,
pop = function()
if #app.stack > 0 then
mini.update = table.remove(app.stack)
end
end,
}