/// <summary>
 /// Adds an object that will be run by this virtual machine.
 /// </summary>
 /// <param name="Obj">The object to run.</param>
 /// <param name="ObjectContainer">The object's container.</param>
 public void AddObject(OBJD Obj, Iff ObjectContainer, string GUID)
 {
     VirtualThread VThread = new VirtualThread(new SimulationObject(Obj, ObjectContainer, GUID));
     m_Threads.Add(VThread);
 }
Beispiel #2
0
        /// <summary>
        /// Adds an object that will be run by this virtual machine.
        /// </summary>
        /// <param name="Obj">The object to run.</param>
        /// <param name="ObjectContainer">The object's container.</param>
        public void AddObject(OBJD Obj, Iff ObjectContainer, string GUID)
        {
            VirtualThread VThread = new VirtualThread(new SimulationObject(Obj, ObjectContainer, GUID));

            m_Threads.Add(VThread);
        }