private void EditCharacterButton_Click(object sender, RoutedEventArgs e) { var editCharDetails = new EditCharacterDetails(_playerCharacter); var editCharWindow = new EditCharWindow(editCharDetails, this); editCharWindow.ShowDialog(); }
internal void UpdateCharacterDetails(EditCharacterDetails editCharacterDetails) { _playerCharacter.PlayerName = editCharacterDetails.PlayerName; }