Files
OpenRA/OpenRa.Game/Traits/RenderBuildingOre.cs
2009-12-22 02:14:42 +13:00

18 lines
340 B
C#

using System;
namespace OpenRa.Game.Traits
{
class RenderBuildingOre : RenderBuilding, INotifyBuildComplete
{
public RenderBuildingOre(Actor self)
: base(self)
{
}
public void BuildingComplete( Actor self )
{
anim.PlayFetchIndex( "idle", () => (int)( 4.9 * self.Owner.GetSiloFullness() ) );
}
}
}