summaryrefslogtreecommitdiff
path: root/src/main/java/com/encrox/zombie/Misc.java
blob: feeab8bc9eb650931b67355c3cfe120877c0e7a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package com.encrox.zombie;

import java.util.Random;

public class Misc {
	
	public static Object random(Object[] arr) {
		int rnd = new Random().nextInt(arr.length);
	    return arr[rnd];
	}

}