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

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