Less redundancy in Structs
@@ -31,12 +31,7 @@ public class Structs{
}
}
- public static <T> T random(T[] array){
- if(array.length == 0) return null;
- return array[Mathf.random(array.length - 1)];
- }
-
- public static <T> T select(T... array){
+ public static <T> T random(T... array){
if(array.length == 0) return null;
return array[Mathf.random(array.length - 1)];
}
