Random rotation to generated maps
This commit is contained in:
parent
d52d1cab77
commit
7467abfd11
@ -93,7 +93,9 @@ public class MapGenerator {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ret.addPiece(new Piece(shape));
|
Piece piece = new Piece(shape);
|
||||||
|
piece.RotateRight(rand.nextInt(4));
|
||||||
|
ret.addPiece(piece);
|
||||||
}
|
}
|
||||||
|
|
||||||
//generate pieces
|
//generate pieces
|
||||||
|
Loading…
Reference in New Issue
Block a user