private static ArrayList GetAvailableResponses(Line currentLine) { ArrayList responses = currentLine.GetResponses(); ArrayList availableResponses = new ArrayList(); foreach (Line response in responses){ if (response.IsPrerequisiteMet()){ availableResponses.Add(new VariantLine(response)); } } return availableResponses; }