add a comment and delete space useless
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Mat 2023-05-16 10:35:46 +02:00
parent 16d2c89e95
commit aecbf2cb9a

View File

@ -48,6 +48,7 @@ public class MapGenerator {
map_shape[i][j] = rand.nextBoolean();
}
}
//delete lonely piece
for (int i =0;i<map_shape.length;i++){
for (int j = 0; j<map_shape[i].length;j++){
boolean test = false;
@ -62,7 +63,6 @@ public class MapGenerator {
}
if (!test)
map_shape[i][j] = false;
}
}
}