Files
OpenRA/OpenRa.Game/Building.cs
chrisf 6f8919d301 Removing dead crap from repos
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@2048 993157c7-ee19-0410-b2c4-bb4e9862e678
2008-07-20 18:26:03 +00:00

25 lines
488 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace OpenRa.Game
{
class Building : PlayerOwned
{
public Building( string name, int2 location, Player owner, Game game )
: base( game, name, location )
{
this.owner = owner;
animation.PlayThen( "make", () => animation.PlayRepeating( "idle" ) );
owner.TechTree.Build( name, true );
}
public override void Tick( Game game, int t )
{
animation.Tick( t );
}
}
}