예제 #1
0
 public void Add(Square square)
 {
     if (square.PieceColor == PieceColor.Black)
     {
         Black.Add(square);
     }
     else if (square.PieceColor == PieceColor.White)
     {
         White.Add(square);
     }
 }