18 lines
340 B
C#
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() ) );
|
|
}
|
|
}
|
|
}
|