public Board(int width, int height, int fieldSize, BoardRenderer renderer) { this.renderer = renderer; this.Width = width; this.Height = height; this.Clear (); this.FieldSize = fieldSize; renderer.RefreshBackground (fields); }
public Board(int width, int height, int fieldSize, BoardRenderer renderer) { this.renderer = renderer; this.Width = width; this.Height = height; this.Clear(); this.FieldSize = fieldSize; renderer.RefreshBackground(fields); }