mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-03-03 08:39:45 +01:00
added a new arraylist to constuktor
This commit is contained in:
parent
5424af57c3
commit
1bac54b062
@ -22,6 +22,7 @@ public class Player {
|
||||
* @param name the unique name of the player
|
||||
*/
|
||||
public Player(RobotID robotID, String name) {
|
||||
this.playerDeck = new ProgrammingCardDeck(new ArrayList<>());
|
||||
this.robotID = robotID;
|
||||
this.name = name;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user