added a new arraylist to constuktor

This commit is contained in:
Tobydrama 2020-04-08 03:16:18 +02:00
parent 5424af57c3
commit 1bac54b062

View File

@ -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;
}