merge edited model into test #18

Merged
j23f0712 merged 11 commits from development into dev/test 2024-11-26 23:32:03 +01:00
Showing only changes of commit d63d0cc2a0 - Show all commits

View File

@@ -6,7 +6,6 @@
* This class will be used to handle general PlayerData * This class will be used to handle general PlayerData
*/ */
public class Player { public class Player {
private String name; private String name;
private Statistic playerStatistic; private Statistic playerStatistic;
private ArrayList<BonusCard> handCards; private ArrayList<BonusCard> handCards;
@@ -29,7 +28,7 @@ public Player(String name) {
* Constructor. * Constructor.
*/ */
public Player() { public Player() {
super(""); this("");
} }
/** /**
@@ -73,7 +72,7 @@ public ArrayList<BonusCard> getHandCards() {
* *
* @param card the card to be added to the players hand * @param card the card to be added to the players hand
*/ */
public void addHandCards(BonusCard card){ public void addHandCards(BonusCard card) {
handCards.add(card); handCards.add(card);
} }