feat: add more info to target panel

This commit is contained in:
k0t9i
2023-01-31 20:18:10 +04:00
parent 24e6c4a180
commit 4dc08f3139
7 changed files with 184 additions and 75 deletions

View File

@ -67,7 +67,7 @@ namespace Client.Application.ViewModels
}
}
public CreatureListViewModel? Target
public TargetSummaryInfoViewModel? Target
{
get
{
@ -93,7 +93,7 @@ namespace Client.Application.ViewModels
{
if (target == null && hero.Target != null)
{
target = new CreatureListViewModel(hero.Target, hero);
target = new TargetSummaryInfoViewModel(hero.Target, hero);
OnPropertyChanged("Target");
}
else if (target != null && hero.Target == null)
@ -135,6 +135,6 @@ namespace Client.Application.ViewModels
}
private readonly Hero hero;
private CreatureListViewModel? target;
private TargetSummaryInfoViewModel? target;
}
}