infantry that sortof work

This commit is contained in:
Chris Forbes
2009-12-12 19:58:00 +13:00
parent 9482789efc
commit 5580424011
9 changed files with 83 additions and 99 deletions

View File

@@ -94,6 +94,9 @@ namespace OpenRa.Game.Traits
Game.world.Add(new Bullet(weaponName, self.Owner, self,
firePos, target.CenterLocation.ToInt2()));
foreach (var na in self.traits.WithInterface<INotifyAttack>())
na.Attacking(self);
return true;
}