Ver código fonte

Fix war compile issue

Lauren Green 6 anos atrás
pai
commit
6ed08bdbb5
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4
    0
      src/main/java/io/zipcoder/casino/War.java

+ 4
- 0
src/main/java/io/zipcoder/casino/War.java Ver arquivo

@@ -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");