Kris Blassingame 6 years ago
parent
commit
c19756d04f

+ 4
- 4
src/main/java/io/zipcoder/casino/Leviathan/Games/GameUtilities/Deck.java View File

@@ -6,10 +6,6 @@ import java.util.Collections;
6 6
 
7 7
 public class Deck {
8 8
 
9
-    public void shuffle() {
10
-        Collections.shuffle(deck);
11
-    }
12
-
13 9
     private ArrayList<Card> deck;
14 10
 
15 11
     public Deck() {
@@ -22,6 +18,10 @@ public class Deck {
22 18
         shuffle();
23 19
     }
24 20
 
21
+    public void shuffle() {
22
+        Collections.shuffle(deck);
23
+    }
24
+
25 25
     public Card draw() {
26 26
         return deck.remove(deck.size() - 1);
27 27
     }