implement order targeter for passenger

This commit is contained in:
Bob
2010-10-03 06:15:47 +13:00
committed by Paul Chote
parent f525c3808e
commit 39e62354a8
6 changed files with 40 additions and 40 deletions

View File

@@ -6,12 +6,12 @@ using OpenRA.Traits;
namespace OpenRA.Mods.RA.Orders
{
class EnterBuildingOrderTargeter<T> : UnitTraitOrderTargeter<T>
class EnterOrderTargeter<T> : UnitTraitOrderTargeter<T>
{
readonly Func<Actor, bool> canTarget;
readonly Func<Actor, bool> useEnterCursor;
public EnterBuildingOrderTargeter( string order, int priority, bool targetEnemy, bool targetAlly,
public EnterOrderTargeter( string order, int priority, bool targetEnemy, bool targetAlly,
Func<Actor, bool> canTarget, Func<Actor, bool> useEnterCursor )
: base( order, priority, "enter", targetEnemy, targetAlly )
{