rename some of Mobile's Activity-builders
This commit is contained in:
@@ -373,11 +373,11 @@ namespace OpenRA.Mods.RA.Move
|
||||
}
|
||||
}
|
||||
|
||||
public IActivity MoveTo( int2 cell ) { return new Move( cell ); }
|
||||
public IActivity MoveTo( int2 cell, int range ) { return new Move( cell, range ); }
|
||||
public IActivity ScriptedMove( int2 cell ) { return new Move( cell ); }
|
||||
public IActivity MoveTo( int2 cell, int nearEnough ) { return new Move( cell, nearEnough ); }
|
||||
public IActivity MoveTo( int2 cell, Actor ignoredActor ) { return new Move( cell, ignoredActor ); }
|
||||
public IActivity MoveTo( Actor target, int range ) { return new Move( target, range ); }
|
||||
public IActivity MoveTo( Target target, int range ) { return new Move( target, range ); }
|
||||
public IActivity MoveWithinRange( Actor target, int range ) { return new Move( target, range ); }
|
||||
public IActivity MoveWithinRange( Target target, int range ) { return new Move( target, range ); }
|
||||
public IActivity MoveTo( Func<List<int2>> pathFunc ) { return new Move( pathFunc ); }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace OpenRA.Mods.RA.Move
|
||||
this.nearEnough = 0;
|
||||
}
|
||||
|
||||
public Move( int2 destination, int nearEnough )
|
||||
public Move( int2 destination, int nearEnough )
|
||||
{
|
||||
this.getPath = (self,mobile) => self.World.WorldActor.Trait<PathFinder>().FindUnitPath( mobile.toCell, destination, self );
|
||||
this.destination = destination;
|
||||
|
||||
Reference in New Issue
Block a user