Browse Source

addPlayerDeck

main
fdai7793 11 months ago
parent
commit
61fbdc5650
  1. 16
      src/main/java/de/hsfulda/onses/models/Player.java

16
src/main/java/de/hsfulda/onses/models/Player.java

@ -0,0 +1,16 @@
package de.hsfulda.onses.models;
import java.util.ArrayList;
public class Player {
private final ArrayList<Card> playerDeck = new ArrayList<>();
public ArrayList<Card> getPlayerDeck() {
return playerDeck;
}
public void addCardToPlayerDeck(Card card) {
playerDeck.add(card);
}
}
Loading…
Cancel
Save