Esempio n. 1
0
 public MockRuntime(RuntimeSettings settings)
 {
     Settings = settings;
     // TODO fire-eggs this needs to be false if you want to use Earth! and must have a pointer to the Civ data files!
     settings.Free = false;
     RuntimeHandler.Register(this);
 }
Esempio n. 2
0
 public void Dispose()
 {
     // Tear everything down
     Map.Wipe();
     Game.Wipe();
     runtime?.Dispose();
     RuntimeHandler.Wipe();
     GC.Collect();
 }