public CharacterCreationWindow() { InitializeComponent(); CurrentCharacter = new Character(Data.RaceEnum.Human); RightStatBlock.SetStatBlockData(CurrentCharacter.Attributes); }
public void UpdateCharacterData() { // Modify CurrentCharacter var charInfo = (P_CharacterInfo)CharInfoFrame.Content; CurrentCharacter.GeneralInformation.Name = charInfo.CharacterName; CurrentCharacter.Attributes = charInfo.Attributes; // Push UI Changes RightStatBlock.SetStatBlockData(CurrentCharacter.Attributes); }