Example #1
0
        public bool Equals(PetTalentTreeData talents)
#endif
        {
            if (talents == null || Spec == null)
            {
                return(false);
            }
            return(talents.ToString().Equals(Spec));//&& Class == talents.GetClass();
        }
Example #2
0
        public PetTalentTreeData TalentSpec()
        {
            if (Spec == null)
            {
                return(null);
            }
            PetTalentTreeData spec = new PetTalentTreeData(Spec);

            return(spec);
        }
Example #3
0
        public SavedPetTalentSpec(String name, PetTalentTreeData talentSpec, PetFamilyTree tree, int pts)
#endif
        {
            Name = name;
            Tree = pts;
            if (talentSpec != null)
            {
                Spec  = talentSpec.ToString();
                Class = tree;
            }
        }