//MeleeAttackNode takes the player and boss in as parameters.
 public MeleeAttackNode(GameObject player, BossWhole boss)
 {
     this.player    = player;
     this.boss      = boss;
     attackCooldown = 0;
 }
Beispiel #2
0
 //MoveToPlayerNode takes in the player and boss as parameters.
 public MoveToPlayerNode(GameObject player, BossWhole boss)
 {
     this.player = player;
     this.boss   = boss;
 }
 //The parameters are the AOE attack node and the boss.
 public PlayerInRangeDecoratorNode(AOEAttackNode aoeAttackNode, BossWhole boss)
 {
     this.aoeAttackNode = aoeAttackNode;
     this.boss          = boss;
 }
Beispiel #4
0
 //AOEAttackNode take the player and boss as parameters.
 public AOEAttackNode(GameObject player, BossWhole boss)
 {
     this.player = player;
     this.boss   = boss;
     aoeCooldown = 0;
 }