Esempio n. 1
0
    private void Update()
    {
        if (CurrentHeroIndex == LastCurrentHeroIndex)
        {
            return;
        }

        LastCurrentHeroIndex = CurrentHeroIndex;

        var hero = Heroes[CurrentHeroIndex];

        _skillsView      = Service.GetAllSkillsFrom(hero);
        _skillsKnowledge = SkillService.GetSkillsFrom(hero);
        _skills          = SkillService.Skills;

        ArrangedSkillKnowledges = Arrange(hero);
        Draw(ArrangedSkillKnowledges);
    }