예제 #1
0
        protected bool InitShelling(object data)
        {
            HougekiModel nextData = _clsNowHougekiList.GetNextData();

            if (nextData == null)
            {
                Dlg.Call(ref _actOnFleetAction);
            }
            else
            {
                _prodShellingAttack.Play(nextData, _nCurrentShellingCnt, isNextAttack, null);
                BattleTaskManager.GetPrefabFile().DisposeProdCommandBuffer();
            }
            return(false);
        }
예제 #2
0
        private bool InitNightShelling(object data)
        {
            HougekiModel nextData = _clsHougekiList.GetNextData();

            if (nextData == null)
            {
                OnNightShellingFinished();
            }
            else
            {
                _prodShellingAttack.Play(nextData, _nCurrentShellingCnt, isNextAttack, null);
                if (_prodNightRadarDeployment != null)
                {
                    _prodNightRadarDeployment.RadarObjectConvergence();
                }
                Mem.DelComponentSafe(ref _prodNightRadarDeployment);
            }
            return(false);
        }