public static Learnset[] getArray(byte[][] entries) { Learnset[] data = new Learnset[entries.Length]; for (int i = 0; i < data.Length; i++) data[i] = new Learnset7(entries[i]); return data; }
public static Learnset[] GetArray(byte[][] entries) { Learnset[] data = new Learnset[entries.Length]; for (int i = 0; i < data.Length; i++) { data[i] = new Learnset7(entries[i]); } return(data); }
public static Learnset[] getArray(byte[] input, int maxSpecies) { var data = new Learnset[maxSpecies + 1]; int offset = 0; for (int s = 0; s < data.Length; s++) { data[s] = new Learnset1(input, ref offset); } return(data); }