Пример #1
0
 internal static bool Execute()
 {
     foreach (Technique t in techniques)
     {
         if ((t != prev || t.CanRepeat) && t.Function.Invoke())
         {
             prev = t;
             return(true);
         }
     }
     return(prev.Function.Invoke());
 }
Пример #2
0
 internal static void Init(Puzzle p)
 {
     prev   = null;
     puzzle = p;
 }