- [NEW] 'editor' module - [NEW] 'msgbox' module - [NEW] 'score' module - [NEW] 'ui' module - [NEW] 'util' module
16 lines
276 B
Lua
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,
|
|
} |