2011-08-29 05:04:23 +02:00
|
|
|
function Game.createMainInterface()
|
|
|
|
gameUi = loadUI('/game/ui/gameinterface.otui', UI.root)
|
2011-08-29 05:44:02 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
function Game.onLogin()
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
function Game.onLogout()
|
2011-08-29 05:48:12 +02:00
|
|
|
gameUi:destroy()
|
|
|
|
gameUi = nil
|
|
|
|
mainMenu:show()
|
2011-08-29 05:44:02 +02:00
|
|
|
end
|