Esempio n. 1
0
        /// <summary>
        /// 初始化防御技术与状态。
        /// </summary>
        private void Initialize()
        {
            if (_defenseStrategy != null)
            {
                _defenseStrategy.Dispose();
            }

            _defenseStrategy = this.GetDefenseStrategy();

            _currentState = this.GetInitialState(_defenseStrategy);

            _seqNoManager.Initlialize();
        }
Esempio n. 2
0
        private void Initialize()
        {
            _currentState = this.GetInitialState();

            _seqNoManager.Initlialize();
        }