desition and screen magement refactor

This commit is contained in:
2026-02-17 21:37:53 +01:00
parent 11b92f64d6
commit 0357eb415e
22 changed files with 256 additions and 141 deletions

View File

@@ -1,13 +1,5 @@
Util = {}
function Util.create_decision(id, label, handler)
return {
id = id,
label = label,
handler = handler
}
end
function Util.safeindex(array, index)
return ((index - 1 + #array) % #array) + 1
end
end