public UIAbilityData(AbilityDataSubclass[] elements, float[][] windowsLocation) { loadedWindowsLocation = windowsLocation; subclasses = new EnhancedList <AbilityDataSubclass>(elements); linkAddresses = new EnhancedList <int[]>(); for (int i = 0; i < elements.Length; i++) { for (int j = 0; j < elements[i].var.Length; j++) { for (int k = 0; k < elements[i].var[j].links.Length; k++) { int[] link = elements[i].var[j].links[k]; linkAddresses.Add(new int[] { i, j, link[0], link[1], link[2] }); } } } }
public int GetNewThread(int tC) { return(activeThreads.Add(new NodeThread(tC))); }