mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-06-27 11:44:42 +02:00
added a new arraylist to constuktor
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user