GetTargetQueue -> GetTargets + Exts

This commit is contained in:
alzeih
2011-04-05 21:40:52 +12:00
committed by Paul Chote
parent 820f67e46b
commit 0a67c68c45
13 changed files with 26 additions and 45 deletions

View File

@@ -239,7 +239,7 @@ namespace OpenRA.Mods.RA.Move
return true;
}
public override IEnumerable<Target> GetTargetQueue( Actor self )
public override IEnumerable<Target> GetTargets( Actor self )
{
if( path != null )
return Enumerable.Reverse(path).Select( c => Target.FromCell(c) );
@@ -315,9 +315,9 @@ namespace OpenRA.Mods.RA.Move
protected abstract MovePart OnComplete( Actor self, Mobile mobile, Move parent );
public override IEnumerable<Target> GetTargetQueue( Actor self )
public override IEnumerable<Target> GetTargets( Actor self )
{
return move.GetTargetQueue(self);
return move.GetTargets(self);
}
}