Ejemplo n.º 1
0
    public void populateDetailsPanelByDeity(Deity deity)
    {
        currentDeity            = deity;
        DeityWorshipMethod.text = "" + deity.GetWorshipMethod();

        WorshipLevelSlider.value = CalculateWorshipLevel() / currentDeity.GetWorshipRequired();
    }
    public void populateDetailsPanel(Deity deity)
    {
        currentDeity       = deity;
        DeityName.text     = deity.GetName();
        WorshipMethod.text = "" + deity.GetWorshipMethod();
        amtWorshipRequired = deity.GetWorshipRequired();
        amtWorshipReceived = deity.GetWorshipReceived();
        satisfaction       = deity.GetSatisfaction();

        SatisfactionSlider.value = CalculateSatisfaction();
        WorshipLevelSlider.value = CalculateWorshipLevel();
    }