private void pictureBoxColorRegionsTester_Click(object sender, EventArgs e) { var creature = new Creature { Species = speciesSelector1.SelectedSpecies, levelsWild = GetCurrentWildLevels(false), levelsDom = GetCurrentDomLevels(false), tamingEff = TamingEffectivenessTester, isBred = rbBredTester.Checked, imprintingBonus = (double)numericUpDownImprintingBonusTester.Value / 100 }; creatureInfoInputTester.SetCreatureData(creature); creature.RecalculateAncestorGenerations(); creature.RecalculateNewMutations(); creature.RecalculateCreatureValues(CreatureCollection.CurrentCreatureCollection.wildLevelStep); creature.ExportInfoGraphicToClipboard(CreatureCollection.CurrentCreatureCollection); }
private void PbCreatureColorsExtractor_Click(object sender, EventArgs e) { var creature = new Creature { Species = speciesSelector1.SelectedSpecies, levelsWild = GetCurrentWildLevels(true), levelsDom = GetCurrentDomLevels(true) }; creature.tamingEff = _extractor.UniqueTamingEffectiveness(); creature.isBred = rbBredExtractor.Checked; creature.imprintingBonus = _extractor.ImprintingBonus; creatureInfoInputExtractor.SetCreatureData(creature); creature.RecalculateAncestorGenerations(); creature.RecalculateNewMutations(); creature.RecalculateCreatureValues(CreatureCollection.CurrentCreatureCollection.wildLevelStep); creature.ExportInfoGraphicToClipboard(CreatureCollection.CurrentCreatureCollection); }
private void pictureBox1_Click(object sender, EventArgs e) { creature?.ExportInfoGraphicToClipboard(cc); }
private void pictureBox_Click(object sender, EventArgs e) { _selectedCreature?.ExportInfoGraphicToClipboard(CreatureCollection.CurrentCreatureCollection); }