Browse Source

Moved things around

Lauren Green 6 years ago
parent
commit
27441c512a

+ 0
- 3
src/main/java/io/zipcoder/casino/Console.java View File

48
         this.scanner = scanner;
48
         this.scanner = scanner;
49
     }
49
     }
50
 
50
 
51
-    public Scanner getScanner() {
52
-        return scanner;
53
-    }
54
 }
51
 }

+ 8
- 7
src/main/java/io/zipcoder/casino/Yahtzee.java View File

22
         this.betAmount = bid;
22
         this.betAmount = bid;
23
     }
23
     }
24
 
24
 
25
+    public DicePlayer getDicePlayer() {
26
+        return dicePlayer;
27
+    }
28
+
29
+    public int getTotalScore() {
30
+        return totalScore;
31
+    }
32
+
25
     public void startGame() {
33
     public void startGame() {
26
         Dice dice1 = new Dice();
34
         Dice dice1 = new Dice();
27
         Dice dice2 = new Dice();
35
         Dice dice2 = new Dice();
194
         Printer.printMessage("You won $" + payOut);
202
         Printer.printMessage("You won $" + payOut);
195
     }
203
     }
196
 
204
 
197
-    public DicePlayer getDicePlayer() {
198
-        return dicePlayer;
199
-    }
200
-
201
-    public int getTotalScore() {
202
-        return totalScore;
203
-    }
204
 }
205
 }