예제 #1
0
 private void PopulateSliders(Critter critter)
 {
     statSliders[0].value = critter.GetOffense();
     statSliders[1].value = critter.GetDefense();
     statSliders[2].value = critter.GetSpeed();
     statSliders[3].value = critter.GetSense();
     statSliders[4].value = critter.GetSneak();
     subStatSliders[0].value = critter.GetSize();
     subStatSliders[1].value = critter.GetBreedRate();
     subStatSliders[2].value = critter.GetEfficiency();
     subStatSliders[3].value = critter.GetMetabolism();
 }
예제 #2
0
    public void CloneStats(Critter critter)
    {
        offense = critter.GetOffense();
        defense = critter.GetDefense();
        baseSpeed = critter.GetBaseSpeed();
        sense = critter.GetSense();
        sneak = critter.GetSneak();
        size = critter.GetSize();
        breedRate = critter.GetBreedRate();
        metabolism = critter.GetMetabolism();

        biomePref = critter.GetBiomePrefs();
        climateFocus = critter.GetClimateFocus();
        climatePref = critter.GetClimatePref();
        climateRange = critter.GetClimateRange();
        geoPref = critter.GetGeoPrefs();
        tempFocus = critter.GetTempFocus();
        tempPref = critter.GetTempPref();
        tempRange = critter.GetTempRange();

        evoMod = critter.GetEvoMod();
        migrateMod = critter.GetMigrateMod();
    }