2 using Microsoft.Xna.Framework;
4 using System.Collections.Generic;
12 private readonly List<float> targetingImportances =
new List<float>();
18 float GetTargetingImportance(
Entity entity)
36 if (Vector2.Dot(dir, submarineDir) < 0)
50 targetingImportances.Clear();
53 targetingImportances.Add(GetTargetingImportance(character));
56 if (targetingImportances.Any(i => i > 0))
58 targetingImportances.Sort();
virtual Vector2 WorldPosition
const float DefaultSonarRange
readonly List< Character > EnemyCharacters
const float MinimumIssueThreshold
ItemComponent TargetItemComponent
const float MaxImportance
readonly ShipCommandManager shipCommandManager
override float RedundantIssueModifier
ShipIssueWorkerOperateWeapons(ShipCommandManager shipCommandManager, Order order)
override void CalculateImportanceSpecific()
override bool AllowEasySwitching
override Vector2? WorldPosition