started adding navigation
This commit is contained in:
parent
32781b1462
commit
468e0a7246
20 changed files with 844 additions and 31 deletions
|
|
@ -94,6 +94,23 @@ public class BoolToOverlayBrushConverter : IValueConverter
|
|||
=> throw new NotSupportedException();
|
||||
}
|
||||
|
||||
public class MapRequirementsConverter : IValueConverter
|
||||
{
|
||||
public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
|
||||
{
|
||||
return value switch
|
||||
{
|
||||
MapType.TrialOfChaos => "Trial Token x1",
|
||||
MapType.Temple => "Identity Scroll x20",
|
||||
MapType.Endgame => "Identity Scroll x20",
|
||||
_ => "",
|
||||
};
|
||||
}
|
||||
|
||||
public object? ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
|
||||
=> throw new NotSupportedException();
|
||||
}
|
||||
|
||||
public class CellBorderConverter : IValueConverter
|
||||
{
|
||||
public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue