Lauren Green пре 6 година
родитељ
комит
27441c512a

+ 0
- 3
src/main/java/io/zipcoder/casino/Console.java Прегледај датотеку

@@ -48,7 +48,4 @@ public class Console {
48 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 Прегледај датотеку

@@ -22,6 +22,14 @@ public class Yahtzee extends DiceGame implements Game, Gamble {
22 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 33
     public void startGame() {
26 34
         Dice dice1 = new Dice();
27 35
         Dice dice2 = new Dice();
@@ -194,11 +202,4 @@ public class Yahtzee extends DiceGame implements Game, Gamble {
194 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
 }