Beispiel #1
0
 public static void buildMap(Battlefield b) {
   if (b.getMap() == null) {
     createMapOn(b);
   } else {
     finalizeMapOn(b);
   }
 }
Beispiel #2
0
  private static void finalizeMapOn(Battlefield b) {
    Map m = b.getMap();
    m.setStyle(BuilderManager.getMapStyleBuilder(m.getMapStyleID()).build());
    TileArtisanUtil.finalizeTilesOn(m);
    TileArtisanUtil.readElevation(m.getAll());
    m.setParcelling(new Parcelling(m));

    attachInitialTrinkets(m);
    for (Ramp r : m.getRamps()) {
      r.connect(m);
    }
    AtlasArtisanUtil.buildAtlas(m);
  }