Files
OpenRA/OpenRa.Game/Refinery.cs
chrisf 58be529e32 ConstructionYard.cs!
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1286 993157c7-ee19-0410-b2c4-bb4e9862e678
2007-07-16 10:29:03 +00:00

31 lines
597 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using OpenRa.FileFormats;
using BluntDirectX.Direct3D;
using System.Drawing;
namespace OpenRa.Game
{
class Refinery : Actor
{
static Range<int> sequence = UnitSheetBuilder.GetUnit("proc");
public Refinery(float2 location, int palette)
{
this.renderLocation = location;
this.palette = palette;
}
int GetFrame() { return 1; }
public override Sprite[] CurrentImages
{
get
{
return new Sprite[] { UnitSheetBuilder.sprites[sequence.Start + GetFrame()] };
}
}
}
}