protected QuoridorPlayer(PlayerParameters playerParameters)
 {
     StartingPosition = CurrentPosition = GetPosition(playerParameters.StartingPosition);
     PawnColor        = playerParameters.PawnColor;
     Name             = playerParameters.Name;
     Id = new Guid(); // RandomProvider.GetRandomNumber();
 }
Esempio n. 2
0
 public HumanPlayer(PlayerParameters user) : this(null, user)
 {
 }
Esempio n. 3
0
 public HumanPlayer(QuoridorWebService quoridorWebService, PlayerParameters user) : base(user)
 {
     this.quoridorWebService = quoridorWebService;
 }
Esempio n. 4
0
 public AiPlayer(Board board, PlayerParameters playerParameters) : base(playerParameters)
 {
     this.board = board;
 }