/// <summary> /// Resets the current target handle strategy to the default. /// </summary> private void ResetTargetHandleStrategy() => targetHandleStrategy = new TargetHandleStrategyAttack(this);
/// <summary> /// Sets the current target handle strategy. /// </summary> /// <param name="strategy">The strategy.</param> /// <exception cref="ArgumentNullException">strategy</exception> protected void SetTargetHandleStrategy(UnitTargetHandleStrategy strategy) { targetHandleStrategy = strategy ?? throw new ArgumentNullException(nameof(strategy)); }