return True if __name__ == "__main__": import app import wndMgr import systemSetting import mouseModule import grp import ui import chr import background import player #wndMgr.SetOutlineFlag(True) app.SetMouseHandler(mouseModule.mouseController) app.SetHairColorEnable(True) wndMgr.SetMouseHandler(mouseModule.mouseController) wndMgr.SetScreenSize(systemSetting.GetWidth(), systemSetting.GetHeight()) app.Create("METIN2 CLOSED BETA", systemSetting.GetWidth(), systemSetting.GetHeight(), 1) mouseModule.mouseController.Create() wnd = SystemDialog() wnd.LoadDialog() wnd.Show() app.Loop()
def MainLoop(self): app.Loop()