/// <summary> /// Stops and removes any auto-evo runs for this world /// </summary> public void ResetAutoEvoRun() { if (autoEvo != null) { autoEvo.Abort(); autoEvo = null; } }
private void CreateRunIfMissing() { if (autoEvo != null) { return; } autoEvo = AutoEvo.AutoEvo.CreateRun(this); }
public static AutoEvoRun CreateRun(GameWorld world) { var result = new AutoEvoRun(world); if (Settings.Instance.RunAutoEvoDuringGamePlay) { result.Start(); } return(result); }