src/auto/Recorder.java
public void record(String sFileName)
    {        
        if(!m_bRecStarted)
        {
            Output.println(Config.IdRecorder, "Recording!!!");	
            m_sFile = sFileName;
            m_tmRecorder.start();
            m_bRecStarted = true;
        }
        
        if(!m_bRecDone)
        {
            m_Index++;
            m_joyData = new JoyData();  // Have to reinit it to prevent changing previous ones		
            m_joyData.setValues(m_tmRecorder.get(), m_joy);
            m_List.addElement(m_joyData);
        }
        
        else
        {
            m_joy.setAutoMode(true);
            m_joy.setXY(0, 0);
            m_tmRecorder.stop();
            m_tmRecorder.reset();
        }
    }
/**
     * Records bots movements to specified file.
     * @param sFileName 
     */
Records bots movements to specified file.
Records bots movements to specified file .
public void record(String sFileName)
    {        
        if(!m_bRecStarted)
        {
            Output.println(Config.IdRecorder, "Recording!!!");	
            m_sFile = sFileName;
            m_tmRecorder.start();
            m_bRecStarted = true;
        }
        if(!m_bRecDone)
        {
            m_Index++;
            m_joyData = new JoyData();  
            m_joyData.setValues(m_tmRecorder.get(), m_joy);
            m_List.addElement(m_joyData);
        }
        else
        {
            m_joy.setAutoMode(true);
            m_joy.setXY(0, 0);
            m_tmRecorder.stop();
            m_tmRecorder.reset();
        }
    }
public void record ( String sFileName ) { if ( ! m_bRecStarted ) { Output . println ( Config . IdRecorder , "Recording!!!" ) ; m_sFile = sFileName ; m_tmRecorder . start ( ) ; m_bRecStarted = true ; } if ( ! m_bRecDone ) { m_Index ++ ; m_joyData = new JoyData ( ) ; m_joyData . setValues ( m_tmRecorder . get ( ) , m_joy ) ; m_List . addElement ( m_joyData ) ; } else { m_joy . setAutoMode ( true ) ; m_joy . setXY ( 0 , 0 ) ; m_tmRecorder . stop ( ) ; m_tmRecorder . reset ( ) ; } }
Records bots movements to specified file.
Records bots movements to specified file .
// Have to reinit it to prevent changing previous ones		