示例#1
0
        private void EditCharacterButton_Click(object sender, RoutedEventArgs e)
        {
            var editCharDetails = new EditCharacterDetails(_playerCharacter);
            var editCharWindow  = new EditCharWindow(editCharDetails, this);

            editCharWindow.ShowDialog();
        }
示例#2
0
 internal void UpdateCharacterDetails(EditCharacterDetails editCharacterDetails)
 {
     _playerCharacter.PlayerName = editCharacterDetails.PlayerName;
 }