docs: int[] getGenerals() {
          return Arrays.stream(tiles)
                  .filter(tile1 -> tile1.getClass().equals(GeneralTile.class))
                  .sorted(Comparator.comparingInt(t -> t.getOwnerPlayerIndex().get()))
                  .mapToInt(Tile::getTileIndex)
                  .toArray();
      }