shuffle should have random param

master
skocic 6 years ago
parent 249d180974
commit fd9990e99e

@ -46,7 +46,7 @@ Card o-- Suit
class Pile extends ArrayList { class Pile extends ArrayList {
public static Pile createDeck(int numberOfCards) public static Pile createDeck(int numberOfCards)
public Pile getCardsForPlayer(int number) public Pile getCardsForPlayer(int number)
public void shuffle() public void shuffle(Random random)
public boolean uniqueMaximum(Card max, int maxIndex) public boolean uniqueMaximum(Card max, int maxIndex)
} }

Loading…
Cancel
Save