Esempio n. 1
0
        private void AddPrereq(EAbility dependent, EAbility prereq)
        {
            SkillNode dependentNode = m_SkillTree[(int)dependent];
            SkillNode prereqNode    = m_SkillTree[(int)prereq];

            prereqNode.AddDependent(dependentNode);
            dependentNode.AddPrereq(prereqNode);
        }