Inheritance: CellAroundMethod
Example #1
0
        private void SetGameFieldElementsValues()
        {
            var setValuesMathod = new SetValuesMathod(Field);

            for (int i = 0; i < _settings.GameFieldHeight; ++i)
            {
                for (int j = 0; j < _settings.GameFieldWidth; ++j)
                {
                    setValuesMathod.CellCalculation(new Cell(i, j));
                }
            }
        }
Example #2
0
        private void SetGameFieldElementsValues()
        {
            var setValuesMathod = new SetValuesMathod(Field);

            for (int i = 0; i < _settings.GameFieldHeight; ++i)
                for (int j = 0; j < _settings.GameFieldWidth; ++j)
                    setValuesMathod.CellCalculation(new Cell(i, j));
        }