reorganize modules

This commit is contained in:
Eduardo Bart
2011-11-02 01:02:56 -02:00
parent 2304ff3529
commit 5ab0e6f2ac
59 changed files with 147 additions and 208 deletions

View File

@@ -0,0 +1,22 @@
Background = { }
-- private variables
local background
-- public functions
function Background.create()
background = UI.loadAndDisplay('/background/background.otui')
end
function Background.destroy()
background:destroy()
background = nil
end
function Background.hide()
background:hide()
end
function Background.show()
background:show()
end