Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
JaggedArray.cs
Go to the documentation of this file.
2
3internal static class JaggedArray<TElement>
4{
5 public static TElement[][] Allocate(int size1, int size2)
6 {
7 TElement[][] array = new TElement[size1][];
8 for (int i = 0; i < size1; i++)
9 {
10 array[i] = new TElement[size2];
11 }
12 return array;
13 }
14}
static TElement[][] Allocate(int size1, int size2)
Definition JaggedArray.cs:5