/// <summary> /// Gets the IDs of the unsolved modules /// </summary> /// <returns>The list of unsolved module IDs</returns> /// <exception cref="ModuleException">There is no KMBombInfo component attached</exception> protected List <string> GetUnsolvedModuleIDs() { if (BombInfo == null) { throw new ModuleException("There is no KMBombInfo component attached!"); } var AllModules = BombInfo.GetSolvableModuleIDs(); foreach (string module in BombInfo.GetSolvedModuleIDs()) { AllModules.Remove(module); } return(AllModules); }