public Player(string name, Color color, PlayerType type, PlayerDificulty dificulty) { this.name = name; this.color = color; this.points = 0; this.type = type; this.dificulty = dificulty; }
public void setDificulty(int dificulty) { this.dificulty = (PlayerDificulty)dificulty; }
public void addPlayer(string name, Color color, PlayerType type, PlayerDificulty dificulty) { players.Add(new Player(name, color, type, dificulty)); }