Esempio n. 1
0
 public override void HandleRoundStarted(SeatCollection <string> participantNames, DirectionDictionary <string> conventionCards)
 {
     if (this.OnRoundStarted != null)
     {
         this.Add(() =>
         {
             this.OnRoundStarted.Invoke(participantNames, conventionCards);
         });
     }
 }
Esempio 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);
        }
Esempio 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);
 }
 public virtual void HandleRoundStarted(SeatCollection <string> participantNames, DirectionDictionary <string> conventionCards)
 {
 }
Esempio 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;
 }
Esempio n. 6
0
 public Participant(SeatCollection <string> allNames)
 {
     this.Names = allNames;
 }