StyleCop clean GenericSelectTarget

This commit is contained in:
Matthias Mailänder
2014-11-01 08:04:07 +01:00
parent 0a06ae1d76
commit a26a9cc3a2

View File

@@ -29,22 +29,13 @@ namespace OpenRA.Orders
} }
public GenericSelectTarget(IEnumerable<Actor> subjects, string order, string cursor) public GenericSelectTarget(IEnumerable<Actor> subjects, string order, string cursor)
: this(subjects, order, cursor, MouseButton.Left) : this(subjects, order, cursor, MouseButton.Left) { }
{
}
public GenericSelectTarget(Actor subject, string order, string cursor) public GenericSelectTarget(Actor subject, string order, string cursor)
: this(new Actor[] { subject }, order, cursor) : this(new Actor[] { subject }, order, cursor) { }
{
}
public GenericSelectTarget(Actor subject, string order, string cursor, MouseButton button) public GenericSelectTarget(Actor subject, string order, string cursor, MouseButton button)
: this(new Actor[] { subject }, order, cursor, button) : this(new Actor[] { subject }, order, cursor, button) { }
{
}
public IEnumerable<Order> Order(World world, CPos xy, MouseInput mi) public IEnumerable<Order> Order(World world, CPos xy, MouseInput mi)
{ {