public WiredHandler(Room room) { this.actionStacks = new Hashtable(); this.requestedTriggers = new Queue(); this.requestingUpdates = new Queue(); this.wireSlower = new WiredSolverInstance(); this.room = room; this.conditionHandler = new ConditionHandler(room); }
public WiredHandler(Room room) { this.actionItems = new Hashtable(); this.actionStacks = new Hashtable(); this.requestedTriggers = new Queue(); this.requestingUpdates = new Queue(); this.wireSlower = new WiredSolverInstance(); this.room = room; this.conditionHandler = new ConditionHandler(room); //form = new Form1(); //// //Thread thread = new Thread(new ThreadStart(Init)); //thread.Start(); }
internal void Destroy() { if (actionStacks != null) actionStacks.Clear(); requestedTriggers.Clear(); requestingUpdates.Clear(); if (wireSlower != null) wireSlower.Destroy(); wireSlower = null; room = null; }
internal void Reset() { this.actionStacks.Clear(); requestedTriggers.Clear(); requestingUpdates.Clear(); wireSlower = new WiredSolverInstance(); }