Exemplo n.º 1
0
        protected void UpdateMode()
        {
            if (_iPhaseReq == ArsenalPhase.BattlePhase_BEF)
            {
                return;
            }
            switch (_iPhaseReq)
            {
            case ArsenalPhase.BattlePhase_ST:
                if (_clsTasks.Open(_clsArsenal) < 0)
                {
                    return;
                }
                break;

            case ArsenalPhase.NormalConstruct:
                if (_clsTasks.Open(_clsConstruct) < 0)
                {
                    return;
                }
                break;

            case ArsenalPhase.List:
                if (_clsTasks.Open(_clsList) < 0)
                {
                    return;
                }
                break;
            }
            _iPhase    = _iPhaseReq;
            _iPhaseReq = ArsenalPhase.BattlePhase_BEF;
        }
Exemplo n.º 2
0
        private void Start()
        {
            _clsTasks.Init();
            _iPhase = (_iPhaseReq = ArsenalPhase.BattlePhase_ST);
            SingletonMonoBehaviour <UIPortFrame> .Instance.CircleUpdateInfo(logicManager);

            _clsConstruct.firstInit();
            _clsList.firstInit();
        }
Exemplo n.º 3
0
 public static void ReqPhase(ArsenalPhase iPhase)
 {
     _iPhaseReq = iPhase;
 }