//------------------------------------------------------------------------- // Public Interface //------------------------------------------------------------------------- /// <summary> /// Begin the next phase of the boss battle. /// </summary> /// <param name="phase">The boss phase</param> /// <param name="startAttacking">Whether or not to start planning attacks /// immediately (default = true).</param> public void StartPhase(BossPhaseNode phase, bool startAttacking = true) { currentPhase = phase; CalculateFrequency(); if (startAttacking) { StartAttacking(); } }
/// <summary> /// Start the next phase of the battle! /// </summary> /// <param name="bossPhase">The phase to start.</param> public virtual void StartPhase(BossPhaseNode bossPhase) => attackEngine?.StartPhase(bossPhase);