added utils class
parent
2009d42eab
commit
dd5d270ef3
|
|
@ -0,0 +1,7 @@
|
||||||
|
package MAndEngine;
|
||||||
|
|
||||||
|
public class Utils {
|
||||||
|
public static int rand(int low, int high) {
|
||||||
|
return (int)(Math.random() * (high - low + 1) + low);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue