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(); }
private string ChooseModifier() { string mod = ""; bool duplicate = true; while (duplicate) { mod = RollTheme.RollForModifier(); duplicate = CheckModLegal(mod); } return(mod); }
private void buttonRollGoals_Click(object sender, RoutedEventArgs e) { textboxGoalOne.Text = ""; textboxGoalTwo.Text = ""; textboxGoalThree.Text = ""; 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(); }
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(); }
private void buttonRollMapsize_Click(object sender, RoutedEventArgs e) { textboxMapsize.Text = RollTheme.RollForMapsize(); }
private void buttonRollGoaltime_Click(object sender, RoutedEventArgs e) { textboxGoaltime.Text = "Time to hold Goals: " + RollTheme.RollForGoaltime(); }
public MainWindow() { InitializeComponent(); RollTheme.loadLists(); }
private void buttonRollFees_Click(object sender, RoutedEventArgs e) { textboxFees.Text = RollTheme.RollForFees(); }
private void buttonRollLoans_Click(object sender, RoutedEventArgs e) { textboxLoans.Text = RollTheme.RollForLoan(); }
private void buttonRollMoney_Click(object sender, RoutedEventArgs e) { textboxMoney.Text = "Starting Money: " + RollTheme.RollForMoney(); }
private void buttonRollGoalThree_Click(object sender, RoutedEventArgs e) { textboxGoalThree.Text = ""; textboxGoalThree.Text = RollTheme.RollforGoal(); }