示例#1
0
        public TalentNode(int key, string name, string textFormat, ClassSpecialization classSpecialization, int?requirement = null, string?mana = null, string?range = null, string?cast = null, string?cooldown = null)
        {
            Key            = key;
            Name           = name;
            TextFormat     = textFormat;
            Specialization = classSpecialization;
            Requirement    = requirement;

            Mana     = mana;
            Range    = range;
            Cast     = cast;
            Cooldown = cooldown;

            Ranks    = new List <TalentRank>();
            Position = new TalentPosition(-1, -1);

            ranksCtr = 0;
        }
示例#2
0
        public ClassSpecialization SetPosition(int row, int column)
        {
            Position = new TalentPosition(row, column);

            return(Specialization);
        }