Exemplo n.º 1
0
        public void Behave(FuncReturnBehavior behavior)
        {
            switch (behavior)
            {
            case FuncReturnBehavior.Next:
                Next();
                break;

            case FuncReturnBehavior.WaitForBlock:
                shouldNext = true;
                break;

            case FuncReturnBehavior.WaitForUser:
                break;
            }
        }
        public void Behave(FuncReturnBehavior behavior)
        {
            switch (behavior)
            {
                case FuncReturnBehavior.Next:
                    Next();
                    break;

                case FuncReturnBehavior.WaitForBlock:
                    shouldNext = true;
                    break;

                case FuncReturnBehavior.WaitForUser:
                    break;
            }
        }