Browse Source

printScoreCard method written

Lauren Green 6 years ago
parent
commit
5eb86658ac
1 changed files with 4 additions and 6 deletions
  1. 4
    6
      src/main/java/io/zipcoder/casino/ScoreSheet.java

+ 4
- 6
src/main/java/io/zipcoder/casino/ScoreSheet.java View File

38
         return topTotalScore + bottomTotalScore;
38
         return topTotalScore + bottomTotalScore;
39
         }
39
         }
40
 
40
 
41
-
42
-    public void setScore(int score) {
43
-
44
-    }
45
-
46
-    public void printScore(){
41
+    public void printScoreCard(){
42
+        for(ROW r : ROW.values()) {
43
+            System.out.println(r + ": " + scores.get(r));
44
+        }
47
 
45
 
48
     }
46
     }
49
 
47