Exemplo n.º 1
0
 public static Position[] getSpawnPoints() {
   Collection<WorldConfig> all = WorldConfig.all();
   Position[] pos = new Position[all.size()];
   int i = 0;
   for (WorldConfig wc : all) {
     pos[i] = wc.spawnPoint;
     i++;
   }
   return pos;
 }