Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     creature?.ExportInfoGraphicToClipboard(cc);
 }
Esempio n. 4
0
 private void pictureBox_Click(object sender, EventArgs e)
 {
     _selectedCreature?.ExportInfoGraphicToClipboard(CreatureCollection.CurrentCreatureCollection);
 }