Make interface implementations explicit where possible in traits that implement INotifySold

This commit is contained in:
reaperrr
2016-10-20 18:51:01 +02:00
parent 22dcb1c66f
commit 61284d73dd
16 changed files with 53 additions and 53 deletions

View File

@@ -50,18 +50,18 @@ namespace OpenRA.Mods.Common.Traits.Render
rs.Add(anim);
}
public void BuildingComplete(Actor self)
void INotifyBuildComplete.BuildingComplete(Actor self)
{
buildComplete = true;
}
public void DamageStateChanged(Actor self, AttackInfo e)
void INotifyDamageStateChanged.DamageStateChanged(Actor self, AttackInfo e)
{
if (anim.Animation.CurrentSequence != null)
anim.Animation.ReplaceAnim(wsb.NormalizeSequence(self, info.Sequence));
}
public void OnOwnerChanged(Actor self, Player oldOwner, Player newOwner)
void INotifyOwnerChanged.OnOwnerChanged(Actor self, Player oldOwner, Player newOwner)
{
playerResources = newOwner.PlayerActor.Trait<PlayerResources>();
}