Increase IMove.MoveTo call flexibility.

This commit is contained in:
tovl
2019-09-06 21:48:15 +02:00
committed by abcdefg30
parent 28dbda29e3
commit 3236499fb7
7 changed files with 14 additions and 22 deletions

View File

@@ -425,8 +425,8 @@ namespace OpenRA.Mods.Common.Traits
public interface IMove
{
Activity MoveTo(CPos cell, int nearEnough, Color? targetLineColor = null);
Activity MoveTo(CPos cell, Actor ignoreActor, Color? targetLineColor = null);
Activity MoveTo(CPos cell, int nearEnough = 0, Actor ignoreActor = null,
bool evaluateNearestMovableCell = false, Color? targetLineColor = null);
Activity MoveWithinRange(Target target, WDist range,
WPos? initialTargetPosition = null, Color? targetLineColor = null);
Activity MoveWithinRange(Target target, WDist minRange, WDist maxRange,