lots of stuff: harvester, acceptsore, half-destroyed buildings, building sounds

This commit is contained in:
Chris Forbes
2009-11-01 18:51:15 +13:00
parent 5dbc70da02
commit f9fb04372c
12 changed files with 109 additions and 14 deletions

View File

@@ -7,8 +7,10 @@ using IjwFramework.Types;
namespace OpenRa.Game.Traits
{
enum DamageState { Normal, Half, Dead };
interface ITick { void Tick(Actor self); }
interface IRender { IEnumerable<Pair<Sprite, float2>> Render(Actor self); }
interface IOrder { Order Order(Actor self, int2 xy, bool lmb, Actor underCursor); }
interface INotifyRemoved { void Removed(Actor self); }
interface INotifyDamage { void Damaged(Actor self, DamageState ds); }
}