Пример #1
0
 public virtual void Run()
 {
     startTime = System.CurrentTimeMillis();
     while (true)
     {
         re.UpdateScreen(null);
         re.GetKeyboardHandler().Update();
     }
 }
Пример #2
0
        public virtual void Run()
        {
            startTime = System.CurrentTimeMillis();
            xcommand_t callback = new Anonymousxcommand_t(this);

            while (true)
            {
                re.UpdateScreen(callback);
                re.GetKeyboardHandler().Update();
                Cbuf.Execute();
            }
        }
Пример #3
0
        public virtual void Run()
        {
            startTime = System.CurrentTimeMillis();
            xcommand_t callback = new Anonymousxcommand_t(this);

            while (true)
            {
                re.UpdateScreen(callback);
                kbd.Update();
                Cbuf.Execute();
                try
                {
                    Thread.Sleep(5);
                }
                catch (Exception e)
                {
                }
            }
        }