public Board(int width, int height, int boardPixelWidth) { _width = boardPixelWidth; _points = new BoardPoint[height][]; for (int i = 0; i < height; i++) { _points[i] = new BoardPoint[width]; for(int j=0; j<width; j++) _points[i][j] = new BoardPoint(); } }
public Board(int width, int height, int boardPixelWidth) { _width = boardPixelWidth; _points = new BoardPoint[height][]; for (int i = 0; i < height; i++) { _points[i] = new BoardPoint[width]; for (int j = 0; j < width; j++) { _points[i][j] = new BoardPoint(); } } }