2011-11-02 04:02:56 +01:00
|
|
|
Background = { }
|
|
|
|
|
|
|
|
-- private variables
|
|
|
|
local background
|
|
|
|
|
|
|
|
-- public functions
|
2012-01-07 18:36:58 +01:00
|
|
|
function Background.init()
|
2012-01-03 01:42:53 +01:00
|
|
|
background = displayUI('background.otui')
|
2011-11-02 04:02:56 +01:00
|
|
|
end
|
|
|
|
|
2012-01-07 18:36:58 +01:00
|
|
|
function Background.terminate()
|
2011-11-02 04:02:56 +01:00
|
|
|
background:destroy()
|
|
|
|
background = nil
|
|
|
|
end
|
|
|
|
|
|
|
|
function Background.hide()
|
|
|
|
background:hide()
|
|
|
|
end
|
|
|
|
|
|
|
|
function Background.show()
|
|
|
|
background:show()
|
|
|
|
end
|