public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { return(value == null ? null : BaseTile.GenerateImage("Player" + value.ToString() + ".gif")); }