Example #1
0
        public void AddNode(DamageNode node)
        {
            NodeParent nodeParent = new NodeParent(node, Vector2.Zero);

            nodeParent.GetNode.SetParrent(nodeParent);
            nodeList.Add(nodeParent);
            switch (node.GetDamageType)
            {
            case DamageType.Magic:
                magicDamage.Add(node);
                break;

            case DamageType.Melee:
                meleeDamage.Add(node);
                break;

            case DamageType.Ranged:
                rangedDamage.Add(node);
                break;

            case DamageType.Throw:
                throwDamage.Add(node);
                break;

            default:
                summonDamage.Add(node);
                break;
            }
        }
Example #2
0
        public void AddNode(LimitBreakNode LBnode)
        {
            NodeParent nodeParent = new NodeParent(LBnode, Vector2.Zero);

            nodeParent.GetNode.SetParrent(nodeParent);
            nodeList.Add(nodeParent);
            LBNodes.Add(LBnode);
        }
Example #3
0
        public void AddNode(StatNode statnode)
        {
            NodeParent nodeParent = new NodeParent(statnode, Vector2.Zero);

            nodeParent.GetNode.SetParrent(nodeParent);
            nodeList.Add(nodeParent);
            StatsNodes.Add(statnode);
        }
Example #4
0
        public void AddNode(ClassNode classnode)
        {
            NodeParent nodeParent = new NodeParent(classnode, Vector2.Zero);

            nodeParent.GetNode.SetParrent(nodeParent);
            nodeList.Add(nodeParent);
            classes.Add(classnode);
        }
Example #5
0
        public void AddNode(ImmunityNode immunity)
        {
            NodeParent nodeParent = new NodeParent(immunity, Vector2.Zero);

            nodeParent.GetNode.SetParrent(nodeParent);
            nodeList.Add(nodeParent);
            immunities.Add(immunity);
        }
Example #6
0
        public void AddNode(LeechNode leech)
        {
            NodeParent nodeParent = new NodeParent(leech, Vector2.Zero);

            nodeParent.GetNode.SetParrent(nodeParent);
            nodeList.Add(nodeParent);
            leechs.Add(leech);
        }
Example #7
0
        public void AddNode(PerkNode perk)
        {
            NodeParent nodeParent = new NodeParent(perk, Vector2.Zero);

            nodeParent.GetNode.SetParrent(nodeParent);
            nodeList.Add(nodeParent);
            perks.Add(perk);
        }
Example #8
0
        public void AddNode(SpeedNode node)
        {
            NodeParent nodeParent = new NodeParent(node, Vector2.Zero);

            nodeParent.GetNode.SetParrent(nodeParent);
            nodeList.Add(nodeParent);
            switch (node.GetDamageType)
            {
            case DamageType.Magic:
                magicSpeed.Add(node);
                break;

            case DamageType.Melee:
                meleeSpeed.Add(node);
                break;

            case DamageType.Ranged:
                rangedSpeed.Add(node);
                break;

            default:
                return;
            }
        }
 public void Init()
 {
     NodeParent.ResetID();
     nodeList.nodeList[0].Upgrade();
 }
Example #10
0
 public void AddNeighboorSimple(NodeParent neighboor)
 {
     neighboorNode.Add(neighboor);
 }
Example #11
0
 public void SetParrent(NodeParent Parent)
 {
     this.Parent = Parent;
 }