public void Tick(int ticks, IMessageLog log) { if (ticks % updateInterval == 0) { counter++; if (counter >= board.Width + board.Height) { counter = 0; } clearingRule.Apply(this, log); log.UpdateSweep(this); } }
public void Tick(int ticks, IMessageLog log) { if (ticks % updateInterval == 0) { counter++; if (counter >= board.Width + board.Height) counter = 0; clearingRule.Apply(this, log); log.UpdateSweep(this); } }