Move INotifyDamageStateChanged to mod code and require explicit implementation

This commit is contained in:
reaperrr
2016-10-20 21:41:25 +02:00
parent 7955aeb1c3
commit 77a134da91
6 changed files with 13 additions and 5 deletions

View File

@@ -72,6 +72,10 @@ namespace OpenRA.Mods.Common.Traits
[RequireExplicitImplementation]
public interface INotifyBuildComplete { void BuildingComplete(Actor self); }
[RequireExplicitImplementation]
public interface INotifyDamageStateChanged { void DamageStateChanged(Actor self, AttackInfo e); }
public interface INotifyBuildingPlaced { void BuildingPlaced(Actor self); }
public interface INotifyRepair { void Repairing(Actor self, Actor target); }
public interface INotifyBurstComplete { void FiredBurst(Actor self, Target target, Armament a); }