예제 #1
0
 public void addContender(contender contender)
 {
     lock (contenders)
     {
         contenders.Add(contender);
     }
 }
예제 #2
0
        public tournamentGame(contender contenderWhite, contender contenderBlack)
        {
            white = contenderWhite;
            black = contenderBlack;
            boardRepresentation = string.Empty;

            lock (_nextIDLock)
            {
                id = _nextID;
                _nextID++;
            }
        }
예제 #3
0
 public playerException(contender newCulprit, pieceColour responsible, string why, Exception e)
     : base(why, e)
 {
     culprit = newCulprit;
     culpritCol = responsible;
 }
예제 #4
0
 public playerException(contender newCulprit, pieceColour responsible)
 {
     culprit = newCulprit;
     culpritCol = responsible;
 }