//--------------------------------------------------------------------------- // 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) { } } }
public void see(VisualInfo info) { throw new NotImplementedException(); }
//--------------------------------------------------------------------------- // This function puts see information into our memory public void store(VisualInfo info) { m_info = info; m_info.parse(); }