public void passManifestation(Manifestation m) { //Dreams.Add(m.NumDreams); //Nightmares.Add(m.NumNightmares); //DerangementValues.Add(m.DvModifier); Manifestation = m; recalculateCharacter(); }
private void Manifestation_Roll_Click(object sender, RoutedEventArgs e) { int rollD100 = RollRandom(1, 100); textBox_Manifestation_Rolled_Amount.Text = "" + rollD100; Manifestation manifestation = getManifestation(rollD100); textBox_Manifestation_Type.Text = "" + manifestation.Type; character.passManifestation(manifestation); fillCharacterStats(); }