Remove unused parameters.
This commit is contained in:
committed by
abcdefg30
parent
ea243b8558
commit
0e7ad43425
@@ -195,7 +195,7 @@ namespace OpenRA.Traits
|
||||
flashAlpha = null;
|
||||
}
|
||||
|
||||
public IEnumerable<IRenderable> Render(WorldRenderer wr)
|
||||
public IEnumerable<IRenderable> Render()
|
||||
{
|
||||
if (Shrouded)
|
||||
return NoRenderables;
|
||||
@@ -323,7 +323,7 @@ namespace OpenRA.Traits
|
||||
{
|
||||
return world.ScreenMap.RenderableFrozenActorsInBox(owner, wr.Viewport.TopLeft, wr.Viewport.BottomRight)
|
||||
.Where(f => f.Visible)
|
||||
.SelectMany(ff => ff.Render(wr));
|
||||
.SelectMany(ff => ff.Render());
|
||||
}
|
||||
|
||||
public IEnumerable<Rectangle> ScreenBounds(Actor self, WorldRenderer wr)
|
||||
|
||||
@@ -299,7 +299,7 @@ namespace OpenRA.Traits
|
||||
sources.Remove(key);
|
||||
}
|
||||
|
||||
public void ExploreProjectedCells(World world, IEnumerable<PPos> cells)
|
||||
public void ExploreProjectedCells(IEnumerable<PPos> cells)
|
||||
{
|
||||
foreach (var puv in cells)
|
||||
{
|
||||
|
||||
@@ -138,7 +138,7 @@ namespace OpenRA.Traits
|
||||
{
|
||||
string OrderID { get; }
|
||||
int OrderPriority { get; }
|
||||
bool CanTarget(Actor self, in Target target, List<Actor> othersAtTarget, ref TargetModifiers modifiers, ref string cursor);
|
||||
bool CanTarget(Actor self, in Target target, ref TargetModifiers modifiers, ref string cursor);
|
||||
bool IsQueued { get; }
|
||||
bool TargetOverridesSelection(Actor self, in Target target, List<Actor> actorsAt, CPos xy, TargetModifiers modifiers);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user