Exemplo n.º 1
0
        public Game(GameSettings gameSettings)
        {
            _settings = gameSettings;
            Field = new GameCell[_settings.GameFieldHeight, _settings.GameFieldWidth];

            SetMines();

            SetGameFieldElementsValues();
        }
Exemplo n.º 2
0
 public OpenCellsMathod(GameCell[,] field)
     : base(field.GetLength(0), field.GetLength(1))
 {
     _field = field;
     OpenedCells = new List<Cell>();
 }
Exemplo n.º 3
0
 public SetValuesMathod(GameCell[,] field)
     : base(field.GetLength(0), field.GetLength(1))
 {
     _field = field;
 }