TankMovement.updatePlan C# (CSharp) Method

updatePlan() private method

Update the plan in a more buffered approach
private updatePlan ( ) : IEnumerator
return IEnumerator
    IEnumerator updatePlan()
    {
        // Always running during gameplay
        while (true)
        {
            this.checkPlan();

            yield return new WaitForSeconds(this.updatePlanBuffer);
        }
    }