예제 #1
0
 private void buttonRollOptions_Click(object sender, RoutedEventArgs e)
 {
     textboxMoney.Text = "Starting Money: " + RollTheme.RollForMoney();
     System.Threading.Thread.Sleep(1);
     textboxLoans.Text = RollTheme.RollForLoan();
     System.Threading.Thread.Sleep(1);
     textboxFees.Text = RollTheme.RollForFees();
     System.Threading.Thread.Sleep(1);
     textboxGoaltime.Text = "Time to hold Goals: " + RollTheme.RollForGoaltime();
     System.Threading.Thread.Sleep(1);
     textboxMapsize.Text = RollTheme.RollForMapsize();
 }
예제 #2
0
        private void buttonRollAll_Click(object sender, RoutedEventArgs e)
        {
            textboxModOne.Text   = "";
            textboxModTwo.Text   = "";
            textboxModThree.Text = "";
            textboxModFour.Text  = "";
            textboxModFive.Text  = "";

            textboxGoalOne.Text   = "";
            textboxGoalTwo.Text   = "";
            textboxGoalThree.Text = "";

            textboxTheme.Text = RollTheme.RollForTheme();
            System.Threading.Thread.Sleep(1);
            textboxModOne.Text = ChooseModifier();
            System.Threading.Thread.Sleep(1);
            textboxModTwo.Text = ChooseModifier();
            System.Threading.Thread.Sleep(1);
            textboxModThree.Text = ChooseModifier();
            System.Threading.Thread.Sleep(1);
            textboxModFour.Text = ChooseModifier();
            System.Threading.Thread.Sleep(1);
            textboxModFive.Text = ChooseModifier();

            System.Threading.Thread.Sleep(1);
            textboxGoalOne.Text = RollTheme.RollforGoal();
            System.Threading.Thread.Sleep(1);
            textboxGoalTwo.Text = RollTheme.RollforGoal();
            System.Threading.Thread.Sleep(1);
            textboxGoalThree.Text = RollTheme.RollforGoal();
            System.Threading.Thread.Sleep(1);
            textboxGoaltime.Text = "Time to hold Goals: " + RollTheme.RollForGoaltime();

            System.Threading.Thread.Sleep(1);
            textboxMoney.Text = "Starting Money: " + RollTheme.RollForMoney();
            System.Threading.Thread.Sleep(1);
            textboxLoans.Text = RollTheme.RollForLoan();
            System.Threading.Thread.Sleep(1);
            textboxFees.Text = RollTheme.RollForFees();
            System.Threading.Thread.Sleep(1);
            textboxGoaltime.Text = "Time to hold Goals: " + RollTheme.RollForGoaltime();
            System.Threading.Thread.Sleep(1);
            textboxMapsize.Text = RollTheme.RollForMapsize();
        }
예제 #3
0
 private void buttonRollFees_Click(object sender, RoutedEventArgs e)
 {
     textboxFees.Text = RollTheme.RollForFees();
 }