public Rumor(Dictionary <string, List <Node> > nodes, RumorScope scope = null) { // Make a copy so our version does not change Nodes = new Dictionary <string, List <Node> >(nodes); Stack = new Stack <StackFrame>(); State = new RumorState(); Scope = scope ?? new RumorScope(); Bindings = new RumorBindings(); }
private Rumor() { this.stack = new Stack <StackFrame>(); this.scope = new Scope(); this.bindings = new Bindings(); State = new RumorState(); Started = false; Finished = false; Cancelled = false; AutoAdvance = -1; }