tibia-client/data/modules/mainmenu/mainmenu.lua

23 lines
499 B
Lua
Raw Normal View History

2011-04-22 00:44:30 +02:00
-- events
function MainMenu_enterGameClicked()
enterGameWindow = loadUI("modules/mainmenu/entergamewindow.yml")
end
function MainMenu_optionsClicked()
optionsWindow = loadUI("modules/mainmenu/optionswindow.yml")
end
function MainMenu_infoClicked()
infoWindow = loadUI("modules/mainmenu/infowindow.yml")
end
function MainMenu_exitClicked()
exitGame()
end
-- create main menu
function MainMenu_create()
menuPanel = loadUI("modules/mainmenu/mainmenu.yml")
end
MainMenu_create()