Commit b3e6a266 authored by Malo KERVESTIN's avatar Malo KERVESTIN
Browse files

ventes des cartes système/utilisateur

parents 7402d2e0 f9a2aa9f
......@@ -2,7 +2,9 @@ package game;
import java.util.ArrayList;
public class User extends Member{
import game.Player.Position;
public class User extends Member {
private int balance;
private ArrayList<Card> deck;
private Card[] team;
......@@ -41,4 +43,17 @@ public class User extends Member{
System.out.println("Your card has been added in your deck");
}
}
public void chooseDeck() {
// TODO peut etre changer display deck avec condition pour qui affiche que
// goalkeeper ect
displayDeck();
System.out.println("Which goalkeeper do you want to add to your deck");
for (Card card : deck) {
if (card.getPlayer().getPosition() == Position.GOAL_KEEPER) {
}
}
}
}
\ No newline at end of file
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