Exemple #1
0
        private void OnSellectSex(Object sender, RoutedEventArgs e)
        {
            System.Windows.Controls.RadioButton btn = (System.Windows.Controls.RadioButton)sender;
            string CharSex = (string)btn.Content;

            _gameSession.CurrentPlayer.Sex = CharSex;

            NextStep.Visibility = Visibility.Visible;
        }
Exemple #2
0
        private void OnSellectClass(Object sender, RoutedEventArgs e)
        {
            System.Windows.Controls.RadioButton btn = (System.Windows.Controls.RadioButton)sender;
            string CharClass = (string)btn.Content;

            //_gameSession.CurrentPlayer.Race = CharRace;
            _gameSession.UpdateClass(CharClass);


            NextStep.Visibility          = Visibility.Visible;
            ClassInfoGoesHere.Visibility = Visibility.Visible;
        }