예제 #1
0
파일: Graph.cs 프로젝트: DragonXYZ/cilpe
            public Enumerator(Switch sw)
            {
                this.sw = sw;
                nextArray = sw.NextArray;

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

                position = 0;
            }
예제 #2
0
파일: BTA.cs 프로젝트: DragonXYZ/cilpe
 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);
 }
예제 #3
0
파일: Visitor.cs 프로젝트: DragonXYZ/cilpe
 protected internal virtual void VisitSwitch(Switch node, object data)
 {
     throw new NodeNotSupportedException(node);
 }
예제 #4
0
파일: BTA.cs 프로젝트: DragonXYZ/cilpe
 protected override void VisitSwitch(Switch upNode, object o)
 {
     DepthContainer cnt = o as DepthContainer;
     cnt.Depth += 1;
 }