Beispiel #1
0
        public CharacterCreationWindow()
        {
            InitializeComponent();

            CurrentCharacter = new Character(Data.RaceEnum.Human);

            RightStatBlock.SetStatBlockData(CurrentCharacter.Attributes);
        }
Beispiel #2
0
        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);
        }