bugfix method updateRack into class Rack

master
Mathis 2022-06-03 22:59:16 +02:00
parent 9ad0fd5b4e
commit acd757b978
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public class Rack {
Tile tile; Tile tile;
for (int i = 0; i < 5-this.listRackTile.size() ; i++) { for (int i = 0; i < 5-(this.listRackTile.size()-1) ; i++) {
int index = (int)(Math.random()*( ((this.deck.getListTile()).size()-1)-0+1)+0); //(int)(Math.random()*(max-min+1)+min); int index = (int)(Math.random()*( ((this.deck.getListTile()).size()-1)-0+1)+0); //(int)(Math.random()*(max-min+1)+min);
tile = (this.deck.getListTile()).get(index); tile = (this.deck.getListTile()).get(index);