#include "mode.hpp"

//est-ce qu'il reste une ligne a dessiner
bool mode::thereIsLineToDraw()
{
    return !_cam.bufferEmpty();
}

//obtenir la prochaine ligne
const camera::draw mode::nextLineToDraw()
{
    camera::draw tmp = _cam.currentLine();
    _cam.unmountBuffer();
    return tmp;
}
