Ejemplo n.º 1
0
    public void UpdateGains(Gains deltaGains, bool useAnimation = true)
    {
        gains += deltaGains;

        popularity.Alter(deltaGains.GetPopularity(), useAnimation);
        energy.Alter(deltaGains.GetEnergy(), useAnimation);
        trust.Alter(deltaGains.GetTrust(), useAnimation);
        days.Alter(deltaGains.GetDays(), useAnimation);
    }