Fix CS1573
This commit is contained in:
committed by
Pavel Penev
parent
63aa34cb35
commit
6c96405ab2
@@ -162,6 +162,7 @@ namespace OpenRA.Mods.Common.Pathfinder
|
||||
/// The search can skip some areas of the search space, meaning it has less work to do.
|
||||
/// </param>
|
||||
/// <param name="targetPredicate">Determines if the given cell is the target.</param>
|
||||
/// <param name="recorder">If provided, will record all nodes explored by searches performed.</param>
|
||||
PathSearch(IPathGraph graph, Func<CPos, int> heuristic, int heuristicWeightPercentage, Func<CPos, bool> targetPredicate, IRecorder recorder)
|
||||
{
|
||||
Graph = graph;
|
||||
|
||||
@@ -24,6 +24,8 @@ namespace OpenRA.Mods.Common
|
||||
/// <param name="lineStart">The position the line should start at</param>
|
||||
/// <param name="lineEnd">The position the line should end at</param>
|
||||
/// <param name="lineWidth">How close an actor's health radius needs to be to the line to be considered 'intersected' by the line</param>
|
||||
/// <param name="onlyBlockers">If set, only considers the size of actors that have an <see cref="IBlocksProjectiles"/>
|
||||
/// trait which may improve search performance. However does NOT filter the returned actors on this trait.</param>
|
||||
/// <returns>A list of all the actors intersected by the line</returns>
|
||||
public static IEnumerable<Actor> FindActorsOnLine(this World world, WPos lineStart, WPos lineEnd, WDist lineWidth, bool onlyBlockers = false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user