Make ITick implementations explicit in Mods.Cnc and Mods.D2k

This commit is contained in:
reaperrr
2017-09-07 18:00:22 +02:00
committed by Matthias Mailänder
parent 83afcc3448
commit ec354f89cd
11 changed files with 11 additions and 11 deletions

View File

@@ -68,7 +68,7 @@ namespace OpenRA.Mods.D2k.Traits
self.QueueActivity(mobile.MoveWithinRange(Target.FromCell(self.World, targetCell, SubCell.Any), WDist.FromCells(1)));
}
public void Tick(Actor self)
void ITick.Tick(Actor self)
{
if (--targetCountdown > 0 || IsAttacking || !self.IsInWorld)
return;

View File

@@ -46,7 +46,7 @@ namespace OpenRA.Mods.D2k.Traits
self.ChangeOwner(newOwner);
}
public void Tick(Actor self)
void ITick.Tick(Actor self)
{
if (!self.IsInWorld)
return;

View File

@@ -59,7 +59,7 @@ namespace OpenRA.Mods.D2k.Traits
enabled = self.Trait<MapCreeps>().Enabled;
}
public void Tick(Actor self)
void ITick.Tick(Actor self)
{
if (!enabled)
return;