1 using Microsoft.Xna.Framework;
2 using System.Collections.Generic;
9 readonly List<float> hullSeverities =
new List<float>();
13 hullSeverities.Clear();
23 float averagePercentage = 0f;
24 if (hullSeverities.Any())
26 hullSeverities.Sort();
27 averagePercentage = hullSeverities.TakeLast(3).Average();
static float GetLeakSeverity(Gap leak)
override bool IsValidTarget(Gap gap)
static List< Gap > GapList
readonly Character character
override void CalculateGlobalIssue()
ShipGlobalIssueFixLeaks(ShipCommandManager shipCommandManager)
ShipCommandManager shipCommandManager
ShipIssueWorkerFixLeaks(ShipCommandManager shipCommandManager, Order order, ShipGlobalIssueFixLeaks shipGlobalIssueFixLeaks)
override bool StopDuringEmergency
readonly ShipCommandManager shipCommandManager