-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #424 from Vivelin/auto-track-hints
Auto track hint tiles
- Loading branch information
Showing
32 changed files
with
877 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using Randomizer.Data.WorldData; | ||
using Randomizer.Shared.Models; | ||
|
||
namespace Randomizer.App.ViewModels; | ||
|
||
public class HintTileViewModel | ||
{ | ||
public HintTileViewModel(PlayerHintTile hintTile) | ||
{ | ||
PlayerHintTile = hintTile; | ||
} | ||
|
||
public PlayerHintTile PlayerHintTile { get; init; } | ||
|
||
public string Name => PlayerHintTile.LocationKey; | ||
public string Quality => PlayerHintTile.Usefulness?.ToString() ?? ""; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.