Browse Source

Fix war compile issue

Lauren Green 6 years ago
parent
commit
6ed08bdbb5
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/main/java/io/zipcoder/casino/War.java

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

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