public override double Calc(Ship[] ships) { if (ships == null || ships.Length == 0) return 0; return ships.Sum(x => x.ViewRange); }