Pārlūkot izejas kodu

Fix war compile issue

Lauren Green 6 gadus atpakaļ
vecāks
revīzija
6ed08bdbb5
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4
    0
      src/main/java/io/zipcoder/casino/War.java

+ 4
- 0
src/main/java/io/zipcoder/casino/War.java Parādīt failu

@@ -114,6 +114,8 @@ public class War extends CardGame implements Gamble, Game {
114 114
         }
115 115
     }
116 116
 
117
+    @Override
118
+    public void startGame() {
117 119
         Printer.welcomeTo("War");
118 120
         super.chooseStatingPlayer();
119 121
         payAnte();
@@ -121,6 +123,8 @@ public class War extends CardGame implements Gamble, Game {
121 123
         startRound();
122 124
     }
123 125
 
126
+
127
+
124 128
     public void startRound() {
125 129
         while(super.getLoser() == null) {
126 130
             String input = console.getCMDFromUser("Type 'FLIP' to play the card at the top of your pile");