Ejemplo n.º 1
0
 public static void Hide()
 {
     if (AnimationsEnabled)
     {
         if (Displaying)
         {
             lock (Program.window.draw_lock) {
                 Disappear.Reset();
                 Displaying = false;
             }
         }
     }
 }
Ejemplo n.º 2
0
        //public static event Action Winner;

        public static void Show()
        {
            if (AnimationsEnabled)
            {
                if (!Displaying)
                {
                    lock (Program.window.draw_lock) {
                        Appear.Reset();
                        Displaying = true;
                    }
                }
            }
            else
            {
                window.writeln("> " + DisplayText);
            }
        }