コード例 #1
0
 public static bool BelongsTo(this ChessPiece chessPiece, Player player)
 {
     return(player == Models.Player.White ? chessPiece.BelongsToWhite() : chessPiece.BelongsToBlack());
 }