src/experiments/babybot/soundlocalization/ILDBuffer.cpp
LEVEL_DATA CILDBuffer::GetLastItem ()
{
	if ((actual-1)>=0) return pointer[actual-1];
	else return pointer[m_size-1];
}
//--------------------------------------------------------------------------------------
//       Class:  CILDBuffer
//      Method:  GetLastItem()
// Description:  Return the last item in the buffer 
//--------------------------------------------------------------------------------------
CILDBuffer
Method:  GetLastItem()
Description:  Return the last item in the buffer
CILDBuffer Method : GetLastItem () Description : Return the last item in the buffer
LEVEL_DATA CILDBuffer::GetLastItem ()
{
	if ((actual-1)>=0) return pointer[actual-1];
	else return pointer[m_size-1];
}
LEVEL_DATA CILDBuffer :: GetLastItem ( ) { if ( ( actual - 1 ) >= 0 ) return pointer [ actual - 1 ] ; else return pointer [ m_size - 1 ] ; }
Class:  CILDBuffer
Method:  GetLastItem()
Description:  Return the last item in the buffer
Class : CILDBuffer Method : GetLastItem () Description : Return the last item in the buffer