Exemplo n.º 1
0
 /// <summary>
 /// Adds piece to the list and add piece the board cell
 /// </summary>
 /// <param name="p">The piece to add</param>
 /// <param name="c">The Cell a piece is Added to</param>
 public void AddPiece(Piece p, Cell c)
 {
     c.Piece = p;
     _pieces.Add(p);
 }