Inheritance: CellAroundMethod
コード例 #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));
                }
            }
        }
コード例 #2
0
ファイル: Game.cs プロジェクト: Confirmit/Students
        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));
        }