- Primera pasada de reorganització

This commit is contained in:
2026-03-12 17:30:56 +01:00
parent 8f185fa47c
commit 6c5d7a305a
30 changed files with 965 additions and 1096 deletions

View File

@@ -1,16 +1,15 @@
app = {
update = nil,
stack = {},
}
push = function(func)
table.insert(app.stack, app.update)
app.update = func
end,
function app.push(func)
table.insert(app.stack, app.update)
app.update = func
end
pop = function()
if #app.stack > 0 then
app.update = table.remove(app.stack)
end
end,
}
function app.pop()
if #app.stack > 0 then
app.update = table.remove(app.stack)
end
end