Example #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());
 }
Example #2
0
 internal static void Init(Puzzle p)
 {
     prev   = null;
     puzzle = p;
 }