git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1313 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
(no author)
2007-07-20 07:14:30 +00:00
parent db17062511
commit 434ec200c9
6 changed files with 95 additions and 28 deletions

View File

@@ -9,10 +9,8 @@ namespace OpenRa.Game
{
class Mcv : Unit
{
static Sequence sequence = SequenceProvider.GetSequence("mcv", "idle");
public Mcv( int2 location, int palette )
: base(location, palette, new float2(12, 12))
: base( "mcv", location, palette, new float2( 12, 12 ) )
{
}
@@ -39,11 +37,6 @@ namespace OpenRa.Game
};
}
public override Sprite[] CurrentImages
{
get { return new Sprite[] { sequence.GetSprite(facing) }; }
}
public override IOrder Order( int2 xy )
{
if( ( fromCell == toCell || moveFraction == 0 ) && fromCell == xy )