CyclicBarrierSequence.MoveToNextBarrier C# (CSharp) Method

MoveToNextBarrier() public method

Moves to next barrier if the conditions for current MAJOR event has been satified
public MoveToNextBarrier ( ) : void
return void
    public void MoveToNextBarrier()
    {
        if(this.eventsTable[this.currentIndex].HasFinishedSequence()) {
            this.currentIndex++;

            if(this.HasFinished() == false) {
                this.StartExecution();
            }
        }
    }