Example #1
0
    public override BTNode DeepClone()
    {
        SkillTree tree = new SkillTree(Id, Owner);

        tree.Id           = this.Id;
        tree.CD           = this.CD;
        tree.CostNum      = this.CostNum;
        tree.CostType     = this.CostType;
        tree.Name         = this.Name;
        tree.Pos          = this.Pos;
        tree.StateTime    = this.StateTime;
        tree.CastDistance = this.CastDistance;
        tree.CloneChildren(this);
        return(tree);
    }