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

@@ -36,13 +36,13 @@ namespace OpenRA.Mods.Common.Traits.Render
spriteBody = self.TraitOrDefault<WithSpriteBody>();
}
public void Repairing(Actor self, Actor target)
void INotifyRepair.Repairing(Actor self, Actor target)
{
if (buildComplete && spriteBody != null && !(info.PauseOnLowPower && self.IsDisabled()))
spriteBody.PlayCustomAnimation(self, info.Sequence, () => spriteBody.CancelCustomAnimation(self));
}
public void BuildingComplete(Actor self)
void INotifyBuildComplete.BuildingComplete(Actor self)
{
buildComplete = true;
}