Commit 43125619 authored by Brigitt Gyamfi Bright's avatar Brigitt Gyamfi Bright
Browse files

Game Over

parent 23b613bf
......@@ -114,6 +114,20 @@ public class Controller{
public void reStart(){
cardsAtHand.clearHand();
cardsAtHand = new Hand();
doYouHavereqCardDisplay.setText("");
gameOver.setVisible(false);
doYouHaveS12Display.setText("");
filterHearts.setText("");
sumDisplay.setText("");
info.setVisible(true);
info1.setVisible(true);
info2.setVisible(true);
for (ImageView c:
cardImages) {
c.setVisible(false);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment