示例#1
0
 //---------------------------------------------------------------------------
 // This function waits for new visual information
 public void waitForNewInfo()
 {
     // first remove old info
     m_info = null;
     // now wait until we get new copy
     while (m_info == null)
     {
         // We can get information faster then 75 miliseconds
         try
         {
             Thread.Sleep(SIMULATOR_STEP);
         }
         catch (Exception e)
         {
         }
     }
 }
示例#2
0
 public void see(VisualInfo info)
 {
     throw new NotImplementedException();
 }
示例#3
0
 //---------------------------------------------------------------------------
 // This function puts see information into our memory
 public void store(VisualInfo info)
 {
     m_info = info;
     m_info.parse();
 }