public void setBoardData(int[][] data) {
		boardData = new int[data.length][data[0].length];
		
		for(int i=0;i<data.length;i++){
			for(int j=0;j<data[0].length;j++){
				boardData[i][j] = data[i][j];
			}
		}
	}