Make INotifyKilled require explicit implementation

This commit is contained in:
reaperrr
2018-04-29 04:46:23 +02:00
committed by Paul Chote
parent 7ca9aa5e0b
commit 3a82b13093
9 changed files with 9 additions and 8 deletions

View File

@@ -85,6 +85,7 @@ namespace OpenRA.Mods.Common.Traits
[RequireExplicitImplementation]
public interface INotifyDamage { void Damaged(Actor self, AttackInfo e); }
[RequireExplicitImplementation]
public interface INotifyKilled { void Killed(Actor self, AttackInfo e); }
public interface INotifyAppliedDamage { void AppliedDamage(Actor self, Actor damaged, AttackInfo e); }