Make INotifyBuildComplete require explicit implementation

This commit is contained in:
reaperrr
2016-10-20 21:21:29 +02:00
parent d9ecba7b60
commit a6b09342bc
9 changed files with 16 additions and 10 deletions

View File

@@ -70,6 +70,7 @@ namespace OpenRA.Mods.Common.Traits
void PreparingAttack(Actor self, Target target, Armament a, Barrel barrel);
}
[RequireExplicitImplementation]
public interface INotifyBuildComplete { void BuildingComplete(Actor self); }
public interface INotifyBuildingPlaced { void BuildingPlaced(Actor self); }
public interface INotifyRepair { void Repairing(Actor self, Actor target); }