the rest of yesterday's render changes.

This commit is contained in:
Bob
2009-12-22 11:57:32 +13:00
parent a9157007d0
commit d052fd79e3
7 changed files with 32 additions and 73 deletions

View File

@@ -51,12 +51,6 @@ namespace OpenRa.Game.Traits
}
}
public override IEnumerable<Tuple<Sprite, float2, int>> Render(Actor self)
{
var pal = self.Owner == null ? 0 : self.Owner.Palette;
yield return Tuple.New(anim.Image, 24f * (float2)self.Location, pal);
}
public virtual void Damaged(Actor self, AttackInfo e)
{
if (!e.DamageStateChanged)