Beispiel #1
0
        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);
            }
        }
Beispiel #2
0
        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);

            }
        }