private void SeedButton_Click(object sender, RoutedEventArgs e) { GameSeed = RNG.GetUInt32(); RNG.SeedMe((int)GameSeed); SeedTextBox.GetBindingExpression(TextBox.TextProperty).UpdateTarget(); ModSeedTextBox.GetBindingExpression(TextBox.TextProperty).UpdateTarget(); }
private void RefreshButton_Click(object sender, RoutedEventArgs e) { //GameSeed = RNG.GetUInt32(); GameSeed += 500; RNG.SeedMe((int)GameSeed); SeedTextBox.GetBindingExpression(TextBox.TextProperty).UpdateTarget(); Randomizer.Randomize(); } // Refresh button is no longer in use.