mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
reorganize modules
This commit is contained in:
22
modules/client_background/background.lua
Normal file
22
modules/client_background/background.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
Background = { }
|
||||
|
||||
-- private variables
|
||||
local background
|
||||
|
||||
-- public functions
|
||||
function Background.create()
|
||||
background = UI.display('background.otui')
|
||||
end
|
||||
|
||||
function Background.destroy()
|
||||
background:destroy()
|
||||
background = nil
|
||||
end
|
||||
|
||||
function Background.hide()
|
||||
background:hide()
|
||||
end
|
||||
|
||||
function Background.show()
|
||||
background:show()
|
||||
end
|
Reference in New Issue
Block a user