//MeleeAttackNode takes the player and boss in as parameters. public MeleeAttackNode(GameObject player, BossWhole boss) { this.player = player; this.boss = boss; attackCooldown = 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; }
//AOEAttackNode take the player and boss as parameters. public AOEAttackNode(GameObject player, BossWhole boss) { this.player = player; this.boss = boss; aoeCooldown = 0; }