Esempio n. 1
0
 private static Direction randomDirection() {
   return Direction.values()[(int) (rnd.nextDouble() * 8)];
 }