Beispiel #1
0
        public override bool isComplete()
        {
            if (transition.isComplete())
            {
                initialized = false;
            }

            return(transition.isComplete());
        }
        public bool completedTransitions(TransitionState state)
        {
            bool temp = false;

            switch (state)
            {
            case TransitionState.intro:
                if (intro != null)
                {
                    temp = intro.isComplete();
                }
                else
                {
                    temp = true;
                }
                break;

            case TransitionState.selected:
                if (select != null)
                {
                    temp = select.isComplete();
                }
                else
                {
                    temp = true;
                }
                break;

            case TransitionState.exit:
                if (exit != null)
                {
                    temp = exit.isComplete();
                }
                else
                {
                    temp = true;
                }
                break;
            }

            return(temp);
        }
Beispiel #3
0
        public bool completedTransitions(TransitionState state)
        {
            bool temp = false;

            switch (state)
            {
            case TransitionState.intro:
                temp = intro.isComplete();
                break;

            case TransitionState.selected:
                temp = select.isComplete();
                break;

            case TransitionState.exit:
                temp = exit.isComplete();
                break;
            }

            return(temp);
        }