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); }
public void Dispose() { // Tear everything down Map.Wipe(); Game.Wipe(); runtime?.Dispose(); RuntimeHandler.Wipe(); GC.Collect(); }