diff --git a/Personal/Cards/src/TableHand.java b/Personal/Cards/src/TableHand.java index 1945af5..bac07e8 100644 --- a/Personal/Cards/src/TableHand.java +++ b/Personal/Cards/src/TableHand.java @@ -11,8 +11,8 @@ public class TableHand extends Hand { } } - public void display() { - System.out.println("Current Deck: "); + public void display(String text) { + System.out.println("\n" + text); for (Entry hand : sevensTableHand.entrySet()) { System.out.println(hand.getKey() + ": " + hand.getValue().toString()); }