tibia-client/modules/topmenu/topmenu.lua

14 lines
222 B
Lua
Raw Normal View History

2011-11-01 17:41:15 +01:00
TopMenu = {}
-- private variables
local topMenu
-- public functions
function TopMenu.create()
topMenu = UI.loadAndDisplay("/topmenu/topmenu.otui")
end
function TopMenu.destroy()
topMenu:destroy()
topMenu = nil
end