Ejemplo n.º 1
0
 public override void HandleRoundStarted(SeatCollection <string> participantNames, DirectionDictionary <string> conventionCards)
 {
     if (this.OnRoundStarted != null)
     {
         this.Add(() =>
         {
             this.OnRoundStarted.Invoke(participantNames, conventionCards);
         });
     }
 }
Ejemplo n.º 2
0
        public bool IsSame(SeatCollection <string> other)
        {
            for (Seats s = Seats.North; s <= Seats.West; s++)
            {
                if (this.theNames[s] != other[s])
                {
                    return(false);
                }
            }

            return(true);
        }
Ejemplo n.º 3
0
 public BoardResult(string _owner, Board2 board, SeatCollection <string> newParticipants) : base(_owner, board)
 {
     //if (board == null) throw new ArgumentNullException("board");
     this.Participants = new Participant(newParticipants);
 }
Ejemplo n.º 4
0
 public virtual void HandleRoundStarted(SeatCollection <string> participantNames, DirectionDictionary <string> conventionCards)
 {
 }
Ejemplo n.º 5
0
 public BoardResultEventPublisher(string _owner, Board2 board, SeatCollection <string> newParticipants, BridgeEventBus bus, Tournament t)
     : base(_owner, board, newParticipants)
 {
     this.EventBus          = bus;
     this.currentTournament = t;
 }
Ejemplo n.º 6
0
 public Participant(SeatCollection <string> allNames)
 {
     this.Names = allNames;
 }