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

@@ -62,7 +62,7 @@ namespace OpenRA.Mods.Cnc.Traits.Render
rs.Add(new AnimationWithOffset(wake, null, null, -87));
}
public void Tick(Actor self)
void ITick.Tick(Actor self)
{
if (facing.Facing <= 128)
{

View File

@@ -76,7 +76,7 @@ namespace OpenRA.Mods.Cnc.Traits.Render
wsb.PlayCustomAnimation(self, info.CloseSequence);
}
public void Tick(Actor self)
void ITick.Tick(Actor self)
{
if (ShouldBeOpen())
Open();

View File

@@ -79,7 +79,7 @@ namespace OpenRA.Mods.Cnc.Traits.Render
public int2 SelectionSize(Actor self) { return size; }
public void Tick(Actor self)
void ITick.Tick(Actor self)
{
if (movement.IsMoving || facing.Facing != oldFacing)
tick++;