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; } }
public void AddNode(LimitBreakNode LBnode) { NodeParent nodeParent = new NodeParent(LBnode, Vector2.Zero); nodeParent.GetNode.SetParrent(nodeParent); nodeList.Add(nodeParent); LBNodes.Add(LBnode); }
public void AddNode(StatNode statnode) { NodeParent nodeParent = new NodeParent(statnode, Vector2.Zero); nodeParent.GetNode.SetParrent(nodeParent); nodeList.Add(nodeParent); StatsNodes.Add(statnode); }
public void AddNode(ClassNode classnode) { NodeParent nodeParent = new NodeParent(classnode, Vector2.Zero); nodeParent.GetNode.SetParrent(nodeParent); nodeList.Add(nodeParent); classes.Add(classnode); }
public void AddNode(ImmunityNode immunity) { NodeParent nodeParent = new NodeParent(immunity, Vector2.Zero); nodeParent.GetNode.SetParrent(nodeParent); nodeList.Add(nodeParent); immunities.Add(immunity); }
public void AddNode(LeechNode leech) { NodeParent nodeParent = new NodeParent(leech, Vector2.Zero); nodeParent.GetNode.SetParrent(nodeParent); nodeList.Add(nodeParent); leechs.Add(leech); }
public void AddNode(PerkNode perk) { NodeParent nodeParent = new NodeParent(perk, Vector2.Zero); nodeParent.GetNode.SetParrent(nodeParent); nodeList.Add(nodeParent); perks.Add(perk); }
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(); }
public void AddNeighboorSimple(NodeParent neighboor) { neighboorNode.Add(neighboor); }
public void SetParrent(NodeParent Parent) { this.Parent = Parent; }