Decompose RenderInfantry into WithInfantryBody and RenderSprites.

This commit is contained in:
Paul Chote
2015-03-10 20:08:07 +00:00
parent fa0264a73c
commit 4ea55809ca
25 changed files with 288 additions and 203 deletions

View File

@@ -148,7 +148,7 @@ namespace OpenRA.Mods.Common.Traits
return cachedImage = info.GetImage(self.Info, self.World.Map.SequenceProvider, race);
}
protected void UpdatePalette()
public void UpdatePalette()
{
foreach (var anim in anims.Values)
anim.OwnerChanged();