Character view model and fixed character display

This commit is contained in:
Westin Miller
2018-01-26 21:48:46 -08:00
parent 725e555733
commit 17413f81ff
7 changed files with 81 additions and 5 deletions

View File

@@ -6,7 +6,12 @@ namespace Torch.Server.ViewModels.Entities
{
public CharacterViewModel(MyCharacter character, EntityTreeViewModel tree) : base(character, tree)
{
character.ControllerInfo.ControlAcquired += (x) => { OnPropertyChanged(nameof(Name)); };
character.ControllerInfo.ControlReleased += (x) => { OnPropertyChanged(nameof(Name)); };
}
public CharacterViewModel()
{
}
}
}