Less Small Pieces
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Debucquoy Anthony 2023-05-12 11:36:43 +02:00
parent 3e4b4d257e
commit 3dd1b6b059
Signed by: tonitch
GPG Key ID: A78D6421F083D42E

View File

@ -63,7 +63,7 @@ public class MapGenerator {
while (EmptySlots.size() > 0){ while (EmptySlots.size() > 0){
Collections.shuffle(EmptySlots); Collections.shuffle(EmptySlots);
Vec2 selected = EmptySlots.get(0); Vec2 selected = EmptySlots.get(0);
int size = rand.nextInt(3)+1; int size = 3;
boolean[][] shape = new boolean[size][size]; boolean[][] shape = new boolean[size][size];
for(int i = 0; i < size; i++){ for(int i = 0; i < size; i++){
for (int j = 0; j < size; j++) { for (int j = 0; j < size; j++) {