sumOf
Return
the sum of values returned by selector for each element. Zero for an empty array. Does not use GdxArray.iterator, so it does not allocate and can be safely nested.
the sum of values returned by selector for each element. Zero for an empty array. Does not use GdxArray.iterator, so it does not allocate and can be safely nested.