rework on resources system

This commit is contained in:
Eduardo Bart
2011-05-19 14:11:05 -03:00
parent e1af35f061
commit ab6c52a3ee
24 changed files with 322 additions and 226 deletions

View File

@@ -3,9 +3,9 @@ function autoDestroyParent()
end
function messageBox(title, text)
local msgBox = UI.load("modules/messagebox/messagebox.yml")
local msgBox = UI.load("messagebox.yml")
msgBox.locked = true
msgBox.title = title
msgBox:child("textLabel").text = text
msgBox:child("okButton").onClick = autoDestroyParent
msgBox:child("okButton").onClick = autoDestroyParentz
end