Battlefield.Logic.Fields.Field.Field C# (CSharp) Метод

Field() публичный Метод

public Field ( int size, int numberOfBombs ) : System.Collections.Generic
size int
numberOfBombs int
Результат System.Collections.Generic
        public Field(int size, int numberOfBombs)
        {
            this.Size = size;
            this.Grid = new Cell[size, size];
            this.FillFieldWithEmptyCells();
            this.NumberOfBombs = numberOfBombs;
            this.PlaceBombs(numberOfBombs);
        }