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

@@ -23,7 +23,7 @@ namespace OpenRA.Mods.Common.Traits
Actor reservedFor;
Aircraft reservedForAircraft;
public void Tick(Actor self)
void ITick.Tick(Actor self)
{
if (reservedFor == null)
return; /* nothing to do */
@@ -64,13 +64,13 @@ namespace OpenRA.Mods.Common.Traits
return res != null && res.reservedForAircraft != null && !res.reservedForAircraft.MayYieldReservation;
}
public void Disposing(Actor self)
void INotifyActorDisposing.Disposing(Actor self)
{
if (reservedForAircraft != null)
reservedForAircraft.UnReserve();
}
public void OnOwnerChanged(Actor self, Player oldOwner, Player newOwner)
void INotifyOwnerChanged.OnOwnerChanged(Actor self, Player oldOwner, Player newOwner)
{
if (reservedForAircraft != null)
reservedForAircraft.UnReserve();