Example #1
0
 public bool SetStrategyChooseLetters(IStrategyToGenerateLines strategy, string input)
 {
     _lines = strategy.GenerateLines(input);
     if (_lines.Count > 0)
     {
         return(true);
     }
     return(false);
 }
        public bool GenerateLines(IStrategyToGenerateLines strategy)
        {
            var lines = strategy.GenerateLines(ToGenerateString);

            if (lines.Count == 0)
            {
                return(false);
            }
            getLine(lines);
            return(true);
        }