Example #1
0
 /// <summary>
 /// Constructs a new Virtual Machine instance.
 /// </summary>
 /// <param name="context">The VMContext instance to use.</param>
 public VM(VMContext context, VMNetDriver driver, VMHeadlineRendererProvider headline)
 {
     context.VM = this;
     this.Context = context;
     this.Driver = driver;
     Headline = headline;
     OnBHAVChange += VM_OnBHAVChange;
 }
Example #2
0
 public void ReplaceNet(VMNetDriver driver)
 {
     lock (Driver)
     {
         Driver = driver;
     }
 }
Example #3
0
File: VM.cs Project: Daribon/FreeSO
 /// <summary>
 /// Constructs a new Virtual Machine instance.
 /// </summary>
 /// <param name="context">The VMContext instance to use.</param>
 public VM(VMContext context, VMNetDriver driver)
 {
     context.VM = this;
     this.Context = context;
     this.Driver = driver;
 }