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

17 lines
291 B
Lua
Raw Normal View History

2011-07-17 08:56:57 +02:00
require 'entergame'
function initializeApplication()
mainMenu = loadUI("ui/mainmenu", rootUI)
2011-07-17 08:56:57 +02:00
end
function terminateApplication()
exit()
2011-07-17 08:56:57 +02:00
end
-- here is where everything starts
if not initialized then
initializeApplication()
onClose = terminateApplication
2011-07-17 08:56:57 +02:00
initialized = true
end