add onGameStart/onGameEnd/onLogin/onLogout events

This commit is contained in:
Eduardo Bart
2012-02-07 21:54:33 -02:00
parent ee1357a848
commit 09b3aa82df
16 changed files with 59 additions and 46 deletions

View File

@@ -108,5 +108,5 @@ local function onApplicationClose()
end
setonclose(onApplicationClose)
connect(Game, { onLogin = Game.createInterface }, true)
connect(Game, { onLogout = Game.destroyInterface })
connect(Game, { onGameStart = Game.createInterface }, true)
connect(Game, { onGameEnd = Game.destroyInterface })