Example #1
0
 def __init__(self):
     BaseEntity.__init__(self)
     # 先初始化消息管理器
     self.event_mgr = Events.EventMgr()
     self.table_mgr = TableManager(self)
     self.registerEvent()
     self.dismiss_apply = {}
Example #2
0
    def __init__(self):
        KBEngine.Entity.__init__(self)
        GameObject.__init__(self)
        iDAU.__init__(self)

        self.gameType, self.roomParams = updateRoomParamsGetter(
            self.gameType, dict(self.roomParams))

        self._processDeskRoomParams()

        # 先初始化消息管理器
        self.event_mgr = Events.EventMgr()
        self.table_mgr = TableManager(self)
        # 初始化好之后注册消息
        self.registerEvent()
        # 维护成员在线状态
        self.member_status = dict()
        self.initMembersStatus()
Example #3
0
 def __init__(self):
     BaseEntity.__init__(self)
     self.table_mgr = TableManager(self)