//--------------------------------------------------------------------- public void create(CLogicScene scene, BaseFishLordMgr base_fish_lord_mgr) { mScene = scene; mBaseFishLordMgr = base_fish_lord_mgr; mFishGroupRouteAlloter = new FishGroupRouteAlloter(); mFishRouteMap = new FishRouteMap(); Dictionary<int, EbData> mapData = EbDataMgr.Instance.getMapData<TbDataRoute>(); foreach (var it in mapData) { if (TbDataRoute.DataState.ACTIVE == ((TbDataRoute)it.Value).State) { mListRoute.Add(it.Key); } } mFormationNameList = mBaseFishLordMgr.getPrototypeNameList(); mFormationNameList.Remove(mNormalFishParticleFileName); mFormationNameList.Remove(mRedFishParticleFileName); mOutFishState = OutFishState.Normal; }
//--------------------------------------------------------------------- public void create(CLogicScene scene, BaseFishLordMgr base_fish_lord_mgr) { mScene = scene; mBaseFishLordMgr = base_fish_lord_mgr; mFishGroupRouteAlloter = new FishGroupRouteAlloter(); mFishRouteMap = new FishRouteMap(); Dictionary <int, EbData> mapData = EbDataMgr.Instance.getMapData <TbDataRoute>(); foreach (var it in mapData) { if (TbDataRoute.DataState.ACTIVE == ((TbDataRoute)it.Value).State) { mListRoute.Add(it.Key); } } mFormationNameList = mBaseFishLordMgr.getPrototypeNameList(); mFormationNameList.Remove(mNormalFishParticleFileName); mFormationNameList.Remove(mRedFishParticleFileName); mOutFishState = OutFishState.Normal; }