/// <summary> /// 初始化防御技术与状态。 /// </summary> private void Initialize() { if (_defenseStrategy != null) { _defenseStrategy.Dispose(); } _defenseStrategy = this.GetDefenseStrategy(); _currentState = this.GetInitialState(_defenseStrategy); _seqNoManager.Initlialize(); }
private void Initialize() { _currentState = this.GetInitialState(); _seqNoManager.Initlialize(); }