IActivity no longer passed Mobiles around.

This commit is contained in:
Bob
2009-11-25 18:18:17 +13:00
parent 2aea110497
commit 5c3da9387b
9 changed files with 26 additions and 23 deletions

View File

@@ -53,7 +53,7 @@ namespace OpenRa.Game.Traits
while( nextActivity != null )
{
currentActivity = nextActivity;
nextActivity = nextActivity.Tick( self, this );
nextActivity = nextActivity.Tick( self );
}
}
@@ -73,7 +73,7 @@ namespace OpenRa.Game.Traits
public void Cancel(Actor self)
{
if (currentActivity != null)
currentActivity.Cancel(self, this);
currentActivity.Cancel(self);
}
public IEnumerable<int2> OccupiedCells()