Files
OpenRA/OpenRa.Game/Traits/BelowUnits.cs
Chris Forbes 3bc97ac0b9 z offsets
2009-12-22 19:13:30 +13:00

18 lines
356 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OpenRa.Game.Traits
{
class BelowUnits : IRenderModifier
{
public BelowUnits(Actor self) { }
public IEnumerable<Renderable> ModifyRender(Actor self, IEnumerable<Renderable> r)
{
return r.Select(a => a.WithZOffset(-1));
}
}
}