void Update()
        {
            MoveParts();

            BreuBossState newSate = CurrentState.Update();

            ChangeState(newSate);
        }
        /// <summary>
        /// Moves boss parts and checks states each frame
        /// </summary>
        void Update()
        {
            if (Game.isPaused == false)
            {
                MoveParts();

                BreuBossState newSate = CurrentState.Update();

                ChangeState(newSate);
            }
        }
 /// <summary>
 /// checks if both new and current states are not null, then changes current state to new state
 /// </summary>
 /// <param name="NewState">the state the boss is going to change to</param>
 private void ChangeState(BreuBossState NewState)
 {
     if (NewState != null)
     {
         if (CurrentState != null)
         {
             CurrentState.OnEnd();
         }
         CurrentState = NewState;
         CurrentState.OnBegin(this);
     }
 }