Beispiel #1
0
        public SceneDZData()
        {
            m_placeHolderGo = new PlaceHolderGo();
            // 加载xml配置文件
            m_DZDaoJiShiXmlLimit = Ctx.m_instance.m_mapCfg.m_mapXml.m_list[0] as DZDaoJiShiXmlLimit;

            m_gameRunState      = new GameRunState(this);
            m_sceneDZAreaArr    = new SceneDZArea[(int)EnDZPlayer.ePlayerTotal];
            m_cardNpcMgr        = new CardNpcMgr(this);
            m_changeCardIdxList = new List <int>();
            m_fightMsgMgr       = new FightMsgMgr(this);

            m_bHeroAniEnd      = true;
            m_watchCardInfo    = new WatchCardInfo();
            m_watchOutCardInfo = new WatchOutCardInfo(this);
            m_roundMgr         = new RoundMgr(this);
            m_roundMgr.startInitCardTimer();           // 启动定时器
            m_dragDropData = new DragDropData();
        }
Beispiel #2
0
        public SceneDZData()
        {
            m_placeHolderGo = new PlaceHolderGo();
            // 加载xml配置文件
            m_DZDaoJiShiXmlLimit = Ctx.m_instance.m_mapCfg.m_mapXml.m_list[0] as DZDaoJiShiXmlLimit;

            m_gameRunState = new GameRunState(this);
            m_sceneDZAreaArr = new SceneDZArea[(int)EnDZPlayer.ePlayerTotal];
            m_cardNpcMgr = new CardNpcMgr(this);
            m_changeCardIdxList = new List<int>();
            m_fightMsgMgr = new FightMsgMgr(this);

            m_bHeroAniEnd = true;
            m_watchCardInfo = new WatchCardInfo();
            m_watchOutCardInfo = new WatchOutCardInfo(this);
            m_roundMgr = new RoundMgr(this);
            m_roundMgr.startInitCardTimer();           // 启动定时器
            m_dragDropData = new DragDropData();
        }