public override void HandleRoundStarted(SeatCollection <string> participantNames, DirectionDictionary <string> conventionCards) { if (this.OnRoundStarted != null) { this.Add(() => { this.OnRoundStarted.Invoke(participantNames, conventionCards); }); } }
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); }
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) { }
public BoardResultEventPublisher(string _owner, Board2 board, SeatCollection <string> newParticipants, BridgeEventBus bus, Tournament t) : base(_owner, board, newParticipants) { this.EventBus = bus; this.currentTournament = t; }
public Participant(SeatCollection <string> allNames) { this.Names = allNames; }