tibia-client/modules/client_topmenu/topmenu.lua

19 lines
277 B
Lua
Raw Normal View History

2011-11-01 17:41:15 +01:00
TopMenu = {}
-- private variables
local topMenu
-- public functions
function TopMenu.create()
2011-11-17 21:40:31 +01:00
topMenu = UI.display('topmenu.otui')
2011-11-01 17:41:15 +01:00
end
function TopMenu.destroy()
topMenu:destroy()
topMenu = nil
2011-11-16 19:08:42 +01:00
end
function TopMenu.getButton(id)
return topMenu:getChildById(id)
2011-12-05 19:27:07 +01:00
end