Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
 internal void Destroy()
 {
     if (actionStacks != null)
         actionStacks.Clear();
     requestedTriggers.Clear();
     requestingUpdates.Clear();
     if (wireSlower != null)
         wireSlower.Destroy();
     wireSlower = null;
     room = null;
 }
Ejemplo n.º 4
0
 internal void Reset()
 {
     this.actionStacks.Clear();
     requestedTriggers.Clear();
     requestingUpdates.Clear();
     wireSlower = new WiredSolverInstance();
 }