Commit f9a2aa9f authored by Felix RABADAN's avatar Felix RABADAN
Browse files

Add chooseDeck

parent 8ca2b40e
......@@ -2,6 +2,8 @@ package game;
import java.util.ArrayList;
import game.Player.Position;
public class User extends Member{
private int balance;
private ArrayList<Card> deck;
......@@ -28,4 +30,16 @@ public class User extends Member{
public ArrayList<Card> getDeck() {
return this.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