|
|
@ -7,6 +7,7 @@ import java.util.ArrayList; |
|
|
|
public class Player { |
|
|
|
|
|
|
|
private PlayerService playerService; |
|
|
|
private Game game; |
|
|
|
private final ArrayList<Card> playerDeck = new ArrayList<>(); |
|
|
|
|
|
|
|
public ArrayList<Card> getPlayerDeck() { |
|
|
@ -27,4 +28,13 @@ public class Player { |
|
|
|
this.playerService = playerService; |
|
|
|
return this; |
|
|
|
} |
|
|
|
|
|
|
|
public Game getGame() { |
|
|
|
return game; |
|
|
|
} |
|
|
|
|
|
|
|
public Player setGame(Game game) { |
|
|
|
this.game = game; |
|
|
|
return this; |
|
|
|
} |
|
|
|
} |