/// <summary> /// Initializes a new instance of the <see cref="GameField" /> class. /// </summary> /// <param name="size">Size of the field.</param> /// <param name="gridData">The grid data.</param> public GameField(Size size, CellType[][] gridData) { Size = size; GridData = gridData; }
/// <summary> /// Initializes a new instance of the <see cref="GameSettings"/> class. /// </summary> public GameSettings() { Size = new Size(); }
/// <summary> /// Initializes a new instance of the <see cref="GameField"/> class. /// </summary> /// <param name="size">Size of the field.</param> public GameField(Size size) { Size = size; InitializeGrid(); }