Browse Source

added deck to cardGame class

Jonathan Hinds 6 years ago
parent
commit
be902c5fc7

+ 4
- 0
src/main/java/io/zipcoder/casino/CardGame.java View File

35
     public void faceUp(Card card){
35
     public void faceUp(Card card){
36
         card.setVisibility(true);
36
         card.setVisibility(true);
37
     }
37
     }
38
+
39
+    public ArrayList<Card> getDeck() {
40
+        return deck;
41
+    }
38
 }
42
 }

+ 1
- 1
src/main/java/io/zipcoder/casino/War.java View File

13
 
13
 
14
     public void Deal() {
14
     public void Deal() {
15
 
15
 
16
-
16
+        //for every card in super.geDeck();
17
 
17
 
18
     }
18
     }
19
 
19