Browse Source

Edited BlackJack constructor

Set playerPoints
remotes/origin/quiz
Friederike von Gruben 2 years ago
parent
commit
f5aa351958
  1. 2
      src/main/java/org/bitbiome/classes/BlackJack.java

2
src/main/java/org/bitbiome/classes/BlackJack.java

@ -33,9 +33,11 @@ public class BlackJack {
}
private String playerName;
private int playerPoints;
public BlackJack(String playerName) {
this.playerName = playerName;
this.playerPoints = 0;
}
}
Loading…
Cancel
Save