(gecko) Add support for custom order generators

This commit is contained in:
Chris Forbes
2010-11-02 13:35:26 +13:00
parent 7762241653
commit bc7cf09287
4 changed files with 71 additions and 28 deletions

View File

@@ -51,7 +51,7 @@ namespace OpenRA.Traits
}
public interface IOrderCursor { string CursorForOrder(Actor self, Order order); }
public interface IOrderVoice { string VoicePhraseForOrder(Actor self, Order order); }
public interface ICustomUnitOrderGenerator : IOrderGenerator {};
public interface INotifySold { void Selling( Actor self ); void Sold( Actor self ); }
public interface INotifyDamage { void Damaged(Actor self, AttackInfo e); }
public interface INotifyBuildComplete { void BuildingComplete(Actor self); }