Inspection and Cleanup

This commit is contained in:
2022-10-03 21:13:35 +02:00
parent 6907a767c6
commit c9bc9dd2da
78 changed files with 76 additions and 275 deletions

View File

@@ -17,9 +17,7 @@ public class CircularTerrainGenerator implements Generator {
protected final Random rnd = new Random();
private final int size;
protected final Pos mapCenter = new Pos(0, 50, 0);
private boolean generatePlate;
private final boolean generatePlate;
public CircularTerrainGenerator(int size, boolean generatePlate) {
this.size = size;

View File

@@ -16,10 +16,10 @@ import java.util.Random;
public class SquareTerrainGenerator implements Generator {
protected final Random rnd = new Random();
private int width;
private int length;
private final int width;
private final int length;
private boolean generatePlate;
private final boolean generatePlate;
protected final Pos mapStart = new Pos(0, 50, 0);