forked from SteamWar/SteamWar
Update PathRegion
This commit is contained in:
-19
@@ -91,25 +91,6 @@ public class DynamicRegionSystem implements RegionSystem {
|
||||
.collect(Collectors.toUnmodifiableMap(entry -> entry.getValue().identifier(), Map.Entry::getKey));
|
||||
|
||||
DynamicRegionRepository.loadRegions();
|
||||
// [STDOUT] PATH 239
|
||||
// [STDOUT] DRY 4
|
||||
// [STDOUT] DRY_SPECIAL 18
|
||||
// [STDOUT] WET 2
|
||||
// [STDOUT] WET_SPECIAL 9
|
||||
regionTypeMap.forEach((type, regions) -> {
|
||||
if (type != RegionType.PATH) return;
|
||||
|
||||
MultiTileArea multiTileArea = new MultiTileArea() {
|
||||
@Override
|
||||
public void place(Location location, PasteBuilder pasteBuilder, boolean extension) {
|
||||
}
|
||||
};
|
||||
for (Region region : regions) {
|
||||
PathRegion pathRegion = (PathRegion) region;
|
||||
multiTileArea.addTile(pathRegion.getTile());
|
||||
}
|
||||
multiTileArea.quantize();
|
||||
});
|
||||
new DynamicRegionCommand();
|
||||
new WireframeCommand();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user