Esempio n. 1
0
            public Enumerator(Switch sw)
            {
                this.sw = sw;
                nextArray = sw.NextArray;

                index = sw.curIndex;
                sw.curIndex++;

                position = 0;
            }
Esempio n. 2
0
 protected override void VisitSwitch(Switch upNode, object o)
 {
     State state = o as State;
     BTValue val = state.Stack.Pop() as PrimitiveBTValue;
     Annotation.SetNodeBTType(upNode, val.BTType);
 }
Esempio n. 3
0
 protected internal virtual void VisitSwitch(Switch node, object data)
 {
     throw new NodeNotSupportedException(node);
 }
Esempio n. 4
0
 protected override void VisitSwitch(Switch upNode, object o)
 {
     DepthContainer cnt = o as DepthContainer;
     cnt.Depth += 1;
 }